Use JDK 17 on Build

Closes gh-11324
This commit is contained in:
Marcus Da Coregio 2022-06-22 10:13:49 -03:00
parent fe2517f457
commit 03527b2831
1 changed files with 6 additions and 0 deletions

View File

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