From 359abb37c93b49ced8d56cb79f1b134c7c3e56ce Mon Sep 17 00:00:00 2001 From: sunerok <8443713+justinvforvendetta@users.noreply.github.com> Date: Sat, 27 Jul 2024 18:45:45 -0400 Subject: [PATCH] the latest version of Gradle (8.7) does not support Java 22. Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 66 (similar to https://stackoverflow.com/questions/67079327/how-can-i-fix-unsupported-class-file-major-version-60-in-intellij-idea) version 66 = java 22 --- .github/workflows/android.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 28705f9..566354c 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -14,10 +14,10 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: set up JDK 22 + - name: set up JDK 21 uses: actions/setup-java@v4 with: - java-version: '22' + java-version: '21' distribution: 'temurin' cache: gradle