diff options
Diffstat (limited to 'spark-velocity4/build.gradle')
-rw-r--r-- | spark-velocity4/build.gradle | 8 |
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 { |