aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorLuck <git@lucko.me>2021-05-31 20:42:00 +0100
committerLuck <git@lucko.me>2021-05-31 20:42:00 +0100
commit05095b0b30b0efa7f17b3f320e29b5a811329125 (patch)
tree89a3dcdee12ed6997adaebe1640b10780aca7c85 /build.gradle
parent8560c61770f93c8e68736206ba5989a5125b3f21 (diff)
downloadspark-05095b0b30b0efa7f17b3f320e29b5a811329125.tar.gz
spark-05095b0b30b0efa7f17b3f320e29b5a811329125.tar.bz2
spark-05095b0b30b0efa7f17b3f320e29b5a811329125.zip
Fix compiler targets (#118)
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle5
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'