Skip to content

Commit 129e136

Browse files
authored
Use Java 17 for tool chain in Gradle
Signed-off-by: Artem Bilan <[email protected]>
1 parent 5f233c4 commit 129e136

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,9 @@ configure(javaProjects) { subproject ->
157157
apply from: "${rootProject.projectDir}/gradle/publish-maven.gradle"
158158

159159
java {
160+
toolchain {
161+
languageVersion = JavaLanguageVersion.of(17)
162+
}
160163
withJavadocJar()
161164
withSourcesJar()
162165
registerFeature('optional') {

0 commit comments

Comments
 (0)