From 6db244eff472cfd1ddc78ff0ce1a465fab0c5234 Mon Sep 17 00:00:00 2001 From: Hossain Khan Date: Fri, 3 Apr 2026 08:43:23 -0400 Subject: [PATCH] [FIXES] Min SDK 16s Run ./gradlew lintKotlin testDebugUnitTest --parallel --daemon Starting a Gradle Daemon (subsequent builds will be faster) Parallel Configuration Cache is an incubating feature. Calculating task graph as no cached configuration is available for tasks: lintKotlin testDebugUnitTest gradle/actions: Writing build results to /home/runner/work/_temp/.gradle-actions/build-results/__run-1775220043424.json [Incubating] Problems report is available at: file:///home/runner/work/trmnl-android/trmnl-android/build/reports/problems/problems-report.html FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'TRMNL'. > Could not resolve all artifacts for configuration 'classpath'. > Could not resolve dev.zacsweers.metro:gradle-plugin:0.12.1. Required by: root project : > dev.zacsweers.metro:dev.zacsweers.metro.gradle.plugin:0.12.1 Configuration cache entry stored. > Dependency requires at least JVM runtime version 21. This build uses a Java 17 JVM. --- .github/workflows/android-lint.yml | 2 +- .github/workflows/android-release.yml | 2 +- .github/workflows/android.yml | 2 +- .github/workflows/test-keystore-apk-signing.yml | 2 +- .github/workflows/test-keystore.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/android-lint.yml b/.github/workflows/android-lint.yml index 1763b58..295616c 100644 --- a/.github/workflows/android-lint.yml +++ b/.github/workflows/android-lint.yml @@ -15,7 +15,7 @@ jobs: - name: set up JDK uses: actions/setup-java@v4 with: - java-version: '17' + java-version: '21' distribution: 'temurin' cache: gradle diff --git a/.github/workflows/android-release.yml b/.github/workflows/android-release.yml index 6de9f65..ceb53dd 100644 --- a/.github/workflows/android-release.yml +++ b/.github/workflows/android-release.yml @@ -30,7 +30,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v4 with: - java-version: '17' + java-version: '21' distribution: 'temurin' cache: gradle diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index b3c8b69..b35e7d7 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -15,7 +15,7 @@ jobs: - name: set up JDK uses: actions/setup-java@v4 with: - java-version: '17' + java-version: '21' distribution: 'temurin' cache: gradle diff --git a/.github/workflows/test-keystore-apk-signing.yml b/.github/workflows/test-keystore-apk-signing.yml index c150a3f..5555b72 100644 --- a/.github/workflows/test-keystore-apk-signing.yml +++ b/.github/workflows/test-keystore-apk-signing.yml @@ -17,7 +17,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v4 with: - java-version: '17' + java-version: '21' distribution: 'temurin' - name: Create test directory diff --git a/.github/workflows/test-keystore.yml b/.github/workflows/test-keystore.yml index 2b757ae..0ecb862 100644 --- a/.github/workflows/test-keystore.yml +++ b/.github/workflows/test-keystore.yml @@ -27,7 +27,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v4 with: - java-version: '17' # Using a stable JDK version + java-version: '21' # Using a stable JDK version distribution: 'temurin' - name: Verify Java and Keytool Installation