galvas
07/28/2023, 1:31 PMExecution failed for task ':core:compileDebugKotlin'.
> 'compileDebugJavaWithJavac' task (current target is 1.8) and 'compileDebugKotlin' task (current target is 17) jvm target compatibility should be set to the same Java version.
galvas
07/28/2023, 1:40 PMjvmToolchain {
(this as JavaToolchainSpec).languageVersion.set(JavaLanguageVersion.of("11"))
}
I still get
'compileDebugJavaWithJavac' task (current target is 1.8) and 'compileDebugKotlin' task (current target is 11)
galvas
07/28/2023, 1:58 PMandroid {
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
}
Colton Idle
07/28/2023, 2:27 PMtapchicoma
07/28/2023, 4:31 PM