Skip to content

Commit

Permalink
the latest version of Gradle (8.7) does not support Java 22.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
justinvforvendetta authored Jul 27, 2024
1 parent 95671d0 commit 359abb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 359abb3

Please sign in to comment.