aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
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'