Use Java 17 for compatibility
Some checks failed
Build Android APK / build (push) Has been cancelled

This commit is contained in:
2026-04-17 13:49:33 +02:00
parent de1bd7c1b8
commit d4b079bc75
2 changed files with 4 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ jobs:
- name: Setup JDK - name: Setup JDK
uses: actions/setup-java@v4 uses: actions/setup-java@v4
with: with:
java-version: '21' java-version: '17'
distribution: 'temurin' distribution: 'temurin'
- name: Setup Android SDK - name: Setup Android SDK

View File

@@ -37,14 +37,14 @@ android {
} }
compileOptions { compileOptions {
sourceCompatibility JavaVersion.VERSION_21 sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_21 targetCompatibility JavaVersion.VERSION_17
coreLibraryDesugaringEnabled true coreLibraryDesugaringEnabled true
} }
java { java {
toolchain { toolchain {
languageVersion = JavaLanguageVersion.of(21) languageVersion = JavaLanguageVersion.of(17)
} }
} }