Skip to content

Commit 0af1c1a

Browse files
committed
JVM 23 in CI
1 parent b3ef0fc commit 0af1c1a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/gradle.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Set up JDK 21
2626
uses: actions/setup-java@v4
2727
with:
28-
java-version: '21'
28+
java-version: '23'
2929
distribution: 'temurin'
3030

3131
# Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies.

build.gradle.kts

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@file:Suppress("VulnerableLibrariesLocal", "SpellCheckingInspection")
22

3+
import org.gradle.api.JavaVersion.VERSION_21
34
import org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_21
45

56

@@ -27,6 +28,10 @@ kotlin {
2728
compilerOptions.optIn.add("kotlinx.serialization.ExperimentalSerializationApi")
2829
}
2930
}
31+
java {
32+
sourceCompatibility = VERSION_21
33+
targetCompatibility = VERSION_21
34+
}
3035
tasks.test {
3136
useJUnitPlatform()
3237
}

0 commit comments

Comments
 (0)