Skip to content

Commit 52a0afe

Browse files
committed
update build.gradle for java 21
1 parent 5b196cb commit 52a0afe

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ processResources {
4848
}
4949

5050
tasks.withType(JavaCompile).configureEach {
51-
it.options.release = 25
51+
it.options.release = 21
5252
}
5353

5454
java {
@@ -57,8 +57,8 @@ java {
5757
// If you remove this line, sources will not be generated.
5858
withSourcesJar()
5959

60-
sourceCompatibility = JavaVersion.VERSION_25
61-
targetCompatibility = JavaVersion.VERSION_25
60+
sourceCompatibility = JavaVersion.VERSION_21
61+
targetCompatibility = JavaVersion.VERSION_21
6262
}
6363

6464
jar {

0 commit comments

Comments
 (0)