Skip to content

Commit f7be31c

Browse files
committed
Build examples explicitly using JDK21
1 parent e98c00c commit f7be31c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

examples/build.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,10 @@ subprojects {
1010
}
1111
}
1212
}
13+
14+
plugins.withId("java") {
15+
the<JavaPluginExtension>().toolchain {
16+
languageVersion.set(JavaLanguageVersion.of(21))
17+
}
18+
}
1319
}

0 commit comments

Comments
 (0)