KGP: replace kotlinOptions with compilerOptions
This commit is contained in:
committed by
Niels van Velzen
parent
44ab75f62c
commit
4c86b6f9b2
@@ -32,8 +32,8 @@ subprojects {
|
||||
|
||||
// Configure default Kotlin compiler options
|
||||
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile> {
|
||||
kotlinOptions {
|
||||
jvmTarget = JavaVersion.VERSION_1_8.toString()
|
||||
compilerOptions {
|
||||
jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_1_8)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user