force java version for kotlin/java so it wont say "version mismatch" anymore

main
Walker Fowlkes 7 months ago
parent 9fcbfa755c
commit 337237251c

@ -33,6 +33,16 @@ loom {
} }
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
}
kotlin {
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of("17"))
}
}
dependencies { dependencies {
// To change the versions see the gradle.properties file // To change the versions see the gradle.properties file
minecraft "com.mojang:minecraft:${project.minecraft_version}" minecraft "com.mojang:minecraft:${project.minecraft_version}"

Loading…
Cancel
Save