Skip to content

Commit 3570ccf

Browse files
committed
fix: set source and target compatibility to Java 17 (#616)
1 parent a1b9a78 commit 3570ccf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gradle/build-conventions.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ java {
66
toolchain {
77
languageVersion = JavaLanguageVersion.of(21)
88
}
9+
sourceCompatibility = JavaVersion.VERSION_17
10+
targetCompatibility = JavaVersion.VERSION_17
911
withJavadocJar()
1012
withSourcesJar()
1113
}

0 commit comments

Comments
 (0)