Browse Source

Use JDK 17 on Build

Closes gh-11324
pull/11394/head
Marcus Da Coregio 4 years ago
parent
commit
03527b2831
  1. 6
      build.gradle

6
build.gradle

@ -164,6 +164,12 @@ allprojects { @@ -164,6 +164,12 @@ allprojects {
}
}
}
tasks.withType(JavaCompile).configureEach {
javaCompiler = javaToolchains.compilerFor {
languageVersion = JavaLanguageVersion.of(17)
}
}
}
if (hasProperty('buildScan')) {

Loading…
Cancel
Save