Skip to content

Commit b593732

Browse files
committed
build > use java toolchain
1 parent ef51e15 commit b593732

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,9 @@ dependencies {
7474
/* ******************** java ******************** */
7575

7676
java {
77-
sourceCompatibility = JavaVersion.VERSION_11
78-
targetCompatibility = JavaVersion.VERSION_11
77+
toolchain {
78+
languageVersion.set(JavaLanguageVersion.of(11))
79+
}
7980

8081
withJavadocJar()
8182
withSourcesJar()

0 commit comments

Comments
 (0)