aboutsummaryrefslogtreecommitdiff
path: root/spark-velocity4
diff options
context:
space:
mode:
authorLuck <git@lucko.me>2021-11-10 09:00:24 +0000
committerLuck <git@lucko.me>2021-11-10 09:00:24 +0000
commitc9f20a06d002567ca4d4b24c446c0ab384d8f79d (patch)
treeb9d5fc52599ca0aca7c46aa22ecd30c6e0c33b49 /spark-velocity4
parentfe578229bf7e77b522eda8737374c2f26b30c24b (diff)
downloadspark-c9f20a06d002567ca4d4b24c446c0ab384d8f79d.tar.gz
spark-c9f20a06d002567ca4d4b24c446c0ab384d8f79d.tar.bz2
spark-c9f20a06d002567ca4d4b24c446c0ab384d8f79d.zip
Fix java compile configuration
Diffstat (limited to 'spark-velocity4')
-rw-r--r--spark-velocity4/build.gradle9
1 files changed, 5 insertions, 4 deletions
diff --git a/spark-velocity4/build.gradle b/spark-velocity4/build.gradle
index 8c70779..00c837d 100644
--- a/spark-velocity4/build.gradle
+++ b/spark-velocity4/build.gradle
@@ -3,10 +3,11 @@ plugins {
id 'com.github.johnrengelman.shadow' version '7.0.0'
}
-compileJava {
- // override, compile targeting J11
- options.compilerArgs.clear()
- options.compilerArgs.addAll(['--release', '11'])
+java {
+ toolchain {
+ // override, compile targeting J11
+ languageVersion = JavaLanguageVersion.of(11)
+ }
}
dependencies {