Unresolved reference: compileKotlin in build.gradle.kts

There’s an issue in the Kotlin Gradle DSL that causes this.

https://github.com/gradle/kotlin-dsl-samples/issues/1368

You will need to use the following workaround until it gets resolved.

tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
    kotlinOptions {
        jvmTarget = "1.8"
    }
}

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)