youssef hachicha
05/26/2024, 7:35 AMjvm("desktop") {
jvmToolchain(17)
}
Using 'jvmToolchain(Int): Unit' is an error. Configuring JVM toolchain in the Kotlin target level DSL is prohibited. JVM toolchain feature should be configured in the extension scope as it affects all JVM targets (JVM, Android).hfhbd
05/26/2024, 7:45 AMyoussef hachicha
05/26/2024, 7:53 AMjvm("desktop") {
compilerOptions {
apiVersion.set(org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_2_0)
}
}
Adam S
05/26/2024, 7:53 AMhfhbd
05/26/2024, 7:53 AMAdam S
05/26/2024, 7:55 AMkotlin {
jvmToolchain(17)
jvm("desktop")
}