diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f7fb991..663ff04 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: - uses: actions/setup-java@v4 with: distribution: 'zulu' - java-version: '21' + java-version: '22' - uses: gradle/actions/setup-gradle@v3 with: gradle-home-cache-cleanup: true @@ -45,7 +45,7 @@ jobs: - uses: actions/setup-java@v4 with: distribution: 'zulu' - java-version: '21' + java-version: '22' - uses: gradle/actions/setup-gradle@v3 with: gradle-home-cache-cleanup: true @@ -67,7 +67,7 @@ jobs: - uses: actions/setup-java@v4 with: distribution: 'zulu' - java-version: '21' + java-version: '22' - uses: gradle/actions/setup-gradle@v3 with: gradle-home-cache-cleanup: true diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index d60fcef..585fd2e 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -24,7 +24,7 @@ jobs: - uses: actions/setup-java@v4 with: distribution: 'zulu' - java-version: '21' + java-version: '22' - uses: gradle/actions/setup-gradle@v3 with: gradle-home-cache-cleanup: true diff --git a/build-logic/build.gradle.kts b/build-logic/build.gradle.kts index 08b7b59..fdbc4f4 100644 --- a/build-logic/build.gradle.kts +++ b/build-logic/build.gradle.kts @@ -9,7 +9,7 @@ plugins { kotlin { jvmToolchain { - languageVersion.set(JavaLanguageVersion.of(21)) + languageVersion.set(JavaLanguageVersion.of(22)) vendor.set(JvmVendorSpec.AZUL) } } diff --git a/build-logic/src/main/kotlin/io/github/reactivecircus/cache4k/buildlogic/convention/ConventionPlugin.kt b/build-logic/src/main/kotlin/io/github/reactivecircus/cache4k/buildlogic/convention/ConventionPlugin.kt index 6f8f65d..b71b92f 100644 --- a/build-logic/src/main/kotlin/io/github/reactivecircus/cache4k/buildlogic/convention/ConventionPlugin.kt +++ b/build-logic/src/main/kotlin/io/github/reactivecircus/cache4k/buildlogic/convention/ConventionPlugin.kt @@ -117,7 +117,7 @@ private fun Project.configureSubproject() { private fun KotlinMultiplatformExtension.configureTargets(project: Project) { jvm { jvmToolchain { - languageVersion.set(JavaLanguageVersion.of(21)) + languageVersion.set(JavaLanguageVersion.of(22)) vendor.set(JvmVendorSpec.AZUL) } compilations.configureEach {