From 2cf6f9c2ebfa862e0cc61b19da74d1812ac6bb6b Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 3 Jan 2025 17:08:50 -0600 Subject: [PATCH] build: update to java 21 --- .github/workflows/release.yml | 2 +- app/build.gradle.kts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 94d47cc..8680ca5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,7 +31,7 @@ jobs: uses: actions/setup-java@v4 with: distribution: 'zulu' - java-version: '11' + java-version: '21' - name: Cache Gradle uses: actions/cache@v4 diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 60ef9bb..ecb4bc8 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -51,11 +51,11 @@ android { } } compileOptions { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_21 + targetCompatibility = JavaVersion.VERSION_21 } kotlinOptions { - jvmTarget = "11" + jvmTarget = "21" } buildFeatures { compose = true