Android CI: use JDK 21 (Capacitor 8 Android requires it)
@capacitor/android is ^8; Capacitor 8's Android toolchain (AGP 8.7 / Gradle 8.11) requires JDK 21. The workflow used java: 17, which fails the Gradle build before an APK is produced. Bump to java: 21. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -193,7 +193,7 @@ workflows:
|
||||
vars:
|
||||
PACKAGE_NAME: "com.bizgaze.connect"
|
||||
node: 22
|
||||
java: 17
|
||||
java: 21 # Capacitor 8's Android build (AGP 8.7 / Gradle 8.11) requires JDK 21 — JDK 17 fails the build.
|
||||
scripts:
|
||||
- name: Install JS dependencies
|
||||
script: |
|
||||
|
||||
Reference in New Issue
Block a user