Skip to content

Commit

Permalink
Use JDK 17 as the Gradle Toolchain (#59)
Browse files Browse the repository at this point in the history
Use the same JDK version as in the other NeoForged projects, preventing
Gradle from downloading yet another JDK 16 just for this project.
  • Loading branch information
shartte authored Dec 23, 2023
1 parent f9549ce commit e47246e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ allprojects {

group 'cpw.mods'
java {
toolchain.languageVersion = JavaLanguageVersion.of(16)
toolchain.languageVersion = JavaLanguageVersion.of(17)
modularity.inferModulePath.set(true)
}
version = gradleutils.version
Expand Down

0 comments on commit e47246e

Please sign in to comment.