diff options
Diffstat (limited to 'spark-forge/build.gradle')
-rw-r--r-- | spark-forge/build.gradle | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/spark-forge/build.gradle b/spark-forge/build.gradle index 674e031..5646e47 100644 --- a/spark-forge/build.gradle +++ b/spark-forge/build.gradle @@ -14,11 +14,9 @@ plugins { apply plugin: 'net.minecraftforge.gradle' -java { - toolchain { - // override, compile targeting J16 - languageVersion = JavaLanguageVersion.of(16) - } +tasks.withType(JavaCompile) { + // override, compile targeting J16 + options.release = 16 } minecraft { |