Use JDK 17 on Build
Closes gh-11324
This commit is contained in:
@@ -164,6 +164,12 @@ allprojects {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.withType(JavaCompile).configureEach {
|
||||||
|
javaCompiler = javaToolchains.compilerFor {
|
||||||
|
languageVersion = JavaLanguageVersion.of(17)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hasProperty('buildScan')) {
|
if (hasProperty('buildScan')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user