From 824c70ada75ce1d5efadd26ba35db83727256014 Mon Sep 17 00:00:00 2001 From: mywalk <66966897+mywalkb@users.noreply.github.com> Date: Wed, 24 Apr 2024 18:35:56 +0200 Subject: [PATCH] Update java to JDK 21 --- .github/workflows/core.yml | 2 +- build.gradle.kts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/core.yml b/.github/workflows/core.yml index d6038d986..6cbc96b58 100644 --- a/.github/workflows/core.yml +++ b/.github/workflows/core.yml @@ -51,7 +51,7 @@ jobs: uses: actions/setup-java@v4 with: distribution: "temurin" - java-version: "17" + java-version: "21" - name: Setup Gradle uses: gradle/actions/setup-gradle@v3 diff --git a/build.gradle.kts b/build.gradle.kts index 2cad26d87..8fee55404 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -72,8 +72,8 @@ val androidMinSdkVersion by extra(27) val androidBuildToolsVersion by extra("34.0.0") val androidCompileSdkVersion by extra(34) val androidCompileNdkVersion by extra("26.2.11394342") -val androidSourceCompatibility by extra(JavaVersion.VERSION_17) -val androidTargetCompatibility by extra(JavaVersion.VERSION_17) +val androidSourceCompatibility by extra(JavaVersion.VERSION_21) +val androidTargetCompatibility by extra(JavaVersion.VERSION_21) tasks.register("Delete", Delete::class) { delete(rootProject.layout.buildDirectory)