diff options
author | Luck <git@lucko.me> | 2021-11-10 09:00:24 +0000 |
---|---|---|
committer | Luck <git@lucko.me> | 2021-11-10 09:00:24 +0000 |
commit | c9f20a06d002567ca4d4b24c446c0ab384d8f79d (patch) | |
tree | b9d5fc52599ca0aca7c46aa22ecd30c6e0c33b49 /spark-forge | |
parent | fe578229bf7e77b522eda8737374c2f26b30c24b (diff) | |
download | spark-c9f20a06d002567ca4d4b24c446c0ab384d8f79d.tar.gz spark-c9f20a06d002567ca4d4b24c446c0ab384d8f79d.tar.bz2 spark-c9f20a06d002567ca4d4b24c446c0ab384d8f79d.zip |
Fix java compile configuration
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 { |