diff options
Diffstat (limited to 'spark-forge')
-rw-r--r-- | spark-forge/build.gradle | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/spark-forge/build.gradle b/spark-forge/build.gradle index 98b70d4..674e031 100644 --- a/spark-forge/build.gradle +++ b/spark-forge/build.gradle @@ -14,10 +14,11 @@ plugins { apply plugin: 'net.minecraftforge.gradle' -compileJava { - // override, compile targeting J16 - options.compilerArgs.removeAll(['--release', '8']) - options.compilerArgs.addAll(['--release', '16']) +java { + toolchain { + // override, compile targeting J16 + languageVersion = JavaLanguageVersion.of(16) + } } minecraft { |