Skip to content

Commit 95f922d

Browse files
committed
chore: switch to source/targetCompatibility
1 parent 8097c1e commit 95f922d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

build.gradle.kts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@ java {
2727
withSourcesJar()
2828
withJavadocJar()
2929

30-
toolchain {
31-
version = JavaLanguageVersion.of(21)
32-
}
30+
sourceCompatibility = JavaVersion.VERSION_21
31+
targetCompatibility = JavaVersion.VERSION_21
3332
}
3433

3534
tasks.test {

0 commit comments

Comments
 (0)