diff options
author | Luck <git@lucko.me> | 2021-05-31 20:42:00 +0100 |
---|---|---|
committer | Luck <git@lucko.me> | 2021-05-31 20:42:00 +0100 |
commit | 05095b0b30b0efa7f17b3f320e29b5a811329125 (patch) | |
tree | 89a3dcdee12ed6997adaebe1640b10780aca7c85 /build.gradle | |
parent | 8560c61770f93c8e68736206ba5989a5125b3f21 (diff) | |
download | spark-05095b0b30b0efa7f17b3f320e29b5a811329125.tar.gz spark-05095b0b30b0efa7f17b3f320e29b5a811329125.tar.bz2 spark-05095b0b30b0efa7f17b3f320e29b5a811329125.zip |
Fix compiler targets (#118)
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle index 0e9389d..1812f28 100644 --- a/build.gradle +++ b/build.gradle @@ -17,8 +17,9 @@ subprojects { pluginDescription = 'spark is a performance profiling plugin/mod for Minecraft clients, servers and proxies.' } - sourceCompatibility = 1.8 - targetCompatibility = 1.8 + compileJava { + options.compilerArgs.addAll(['--release', '8']) + } tasks.withType(JavaCompile) { options.encoding = 'UTF-8' |