mirror of
https://github.com/fankes/moshi.git
synced 2025-10-18 23:49:21 +08:00
Update to JDK 17 (#1394)
Everything still targets JDK 8 (non-records) or JDK 16 (records only)
This commit is contained in:
@@ -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") {
|
||||
|
Reference in New Issue
Block a user