KGP: replace kotlinOptions with compilerOptions

This commit is contained in:
Niels van Velzen
2025-06-23 20:55:10 +02:00
committed by Niels van Velzen
parent 44ab75f62c
commit 4c86b6f9b2

View File

@@ -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)
}
}