From c8ae8de976ffa84e5cb4e190cc26fffcdfcfa930 Mon Sep 17 00:00:00 2001 From: DennisBauer <37552885+DennisBauer@users.noreply.github.com> Date: Thu, 21 Nov 2024 21:35:14 +0100 Subject: [PATCH] Update JVM from 17 to 21 --- .github/workflows/pr_pipeline.yml | 4 ++-- .github/workflows/release.yml | 8 ++++---- app/build.gradle.kts | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/pr_pipeline.yml b/.github/workflows/pr_pipeline.yml index 0117844..21bbaa6 100644 --- a/.github/workflows/pr_pipeline.yml +++ b/.github/workflows/pr_pipeline.yml @@ -34,11 +34,11 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Use Java 17 + - name: Use Java 21 uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: '17' + java-version: '21' - run: | echo "Verify Ktlint formatting" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e81de03..16d2c40 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,11 +15,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Use Java 17 + - name: Use Java 21 uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: '17' + java-version: '21' - name: Decode Keystore id: decode_keystore uses: timheuer/base64-to-file@v1.2.4 @@ -47,11 +47,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Use Java 17 + - name: Use Java 21 uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: '17' + java-version: '21' - name: Decode Keystore id: decode_keystore uses: timheuer/base64-to-file@v1.2.4 diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 3c7b8ac..9188538 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -17,7 +17,7 @@ kotlin { androidTarget { @OptIn(ExperimentalKotlinGradlePluginApi::class) compilerOptions { - jvmTarget.set(JvmTarget.JVM_17) + jvmTarget.set(JvmTarget.JVM_21) } } @@ -123,8 +123,8 @@ android { } } compileOptions { - sourceCompatibility = JavaVersion.VERSION_17 - targetCompatibility = JavaVersion.VERSION_17 + sourceCompatibility = JavaVersion.VERSION_21 + targetCompatibility = JavaVersion.VERSION_21 } buildFeatures { compose = true