helpermethod
03/17/2023, 7:29 AMjava.toolchain
or kotlin.toolchain
in my build.gradle.kts
or both? What is the difference between the two?PoisonedYouth
03/17/2023, 7:38 AMkotlin {
jvmToolchain(<My Javaversion>)
}
If the project also has Java code you can use a toolchain for that.
java{
toolchain {
anguageVersion.set(JavaLanguageVersion.of(<My Java version))
}
}
Have you checked the Gradle documentation regarding toolchain? https://docs.gradle.org/current/userguide/toolchains.htmlVampire
03/17/2023, 8:49 AMtapchicoma
03/17/2023, 9:38 AMhelpermethod
03/17/2023, 10:19 AMtapchicoma
03/17/2023, 10:20 AMPoisonedYouth
03/17/2023, 10:21 AMhelpermethod
03/17/2023, 11:09 AM