From 24d692f3ee7f6faef7f57076d398cda4851170bd Mon Sep 17 00:00:00 2001 From: Tlaster Date: Wed, 13 Nov 2024 20:17:57 +0900 Subject: [PATCH] upgrade java to 21 --- .github/workflows/android.yml | 2 +- build.gradle.kts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index a8d957b92..b195fafdb 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -32,7 +32,7 @@ jobs: uses: actions/setup-java@v3 with: distribution: 'zulu' - java-version: 17 + java-version: 21 - name: Setup Android SDK uses: android-actions/setup-android@v2 diff --git a/build.gradle.kts b/build.gradle.kts index 774ebd8de..d42cfd79f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -19,7 +19,7 @@ plugins { allprojects { tasks.withType { compilerOptions { - jvmTarget.set(JvmTarget.JVM_17) + jvmTarget.set(JvmTarget.JVM_21) allWarningsAsErrors.set(true) freeCompilerArgs.set(listOf( "-Xexpect-actual-classes",