Update to JDK 17 (#1394)

Everything still targets JDK 8 (non-records) or JDK 16 (records only)
This commit is contained in:
Zac Sweers
2021-10-16 02:18:51 -04:00
committed by GitHub
parent 2db351f8ed
commit 862ff7ddcd
4 changed files with 14 additions and 8 deletions

View File

@@ -112,7 +112,7 @@ subprojects {
pluginManager.withPlugin("java") {
configure<JavaPluginExtension> {
toolchain {
languageVersion.set(JavaLanguageVersion.of(16))
languageVersion.set(JavaLanguageVersion.of(17))
}
}
if (project.name != "records-tests") {