aboutsummaryrefslogtreecommitdiff
path: root/spark-velocity4/build.gradle
diff options
context:
space:
mode:
authorLuck <git@lucko.me>2021-11-14 19:10:22 +0000
committerLuck <git@lucko.me>2021-11-14 19:10:22 +0000
commiteed8b8d38260fb16f114ab856e486904ae6dc937 (patch)
treea0354f3d13452286c1be6d64342d673336c7de15 /spark-velocity4/build.gradle
parentc9f20a06d002567ca4d4b24c446c0ab384d8f79d (diff)
downloadspark-eed8b8d38260fb16f114ab856e486904ae6dc937.tar.gz
spark-eed8b8d38260fb16f114ab856e486904ae6dc937.tar.bz2
spark-eed8b8d38260fb16f114ab856e486904ae6dc937.zip
Improve compile configuration again
Diffstat (limited to 'spark-velocity4/build.gradle')
-rw-r--r--spark-velocity4/build.gradle8
1 files changed, 3 insertions, 5 deletions
diff --git a/spark-velocity4/build.gradle b/spark-velocity4/build.gradle
index 00c837d..e2a0559 100644
--- a/spark-velocity4/build.gradle
+++ b/spark-velocity4/build.gradle
@@ -3,11 +3,9 @@ plugins {
id 'com.github.johnrengelman.shadow' version '7.0.0'
}
-java {
- toolchain {
- // override, compile targeting J11
- languageVersion = JavaLanguageVersion.of(11)
- }
+tasks.withType(JavaCompile) {
+ // override, compile targeting J11
+ options.release = 11
}
dependencies {