File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545 - uses : actions/setup-java@v4
4646 with :
4747 distribution : temurin
48- java-version : 21
48+ java-version : 17
4949
5050 - name : Setup Gradle
5151 uses : gradle/actions/setup-gradle@v4
@@ -110,7 +110,7 @@ jobs:
110110 - uses : actions/setup-java@v4
111111 with :
112112 distribution : temurin
113- java-version : 21
113+ java-version : 17
114114
115115 - name : Setup Gradle
116116 uses : gradle/actions/setup-gradle@v4
Original file line number Diff line number Diff line change @@ -130,9 +130,9 @@ tasks.named<Jar>("jar") {
130130}
131131
132132java {
133- // Use Java 21 for compilation
133+ // Use Java 17 for compilation
134134 toolchain {
135- languageVersion.set(JavaLanguageVersion .of(21 ))
135+ languageVersion.set(JavaLanguageVersion .of(17 ))
136136 }
137137
138138 withJavadocJar()
@@ -159,7 +159,7 @@ tasks.named<Jar>("javadocJar") {
159159}
160160
161161kotlin {
162- jvmToolchain(21 ) // Ensure Kotlin uses the Java 21 toolchain
162+ jvmToolchain(17 ) // Ensure Kotlin uses the Java 17 toolchain
163163}
164164
165165tasks.withType< org.jetbrains.kotlin.gradle.tasks.KotlinCompile > {
You can’t perform that action at this time.
0 commit comments