[FIX] Downgrade Android JDK to bypass the compile errors

TODO: Update to JDK 21.0.8+7 when I have time.
This commit is contained in:
Eva Isabella Luna 2025-06-25 22:11:12 -06:00
parent 97c9d576c7
commit 4ec1bcf523
No known key found for this signature in database
GPG Key ID: 3716ACDC524F1879

View File

@ -2,7 +2,12 @@
set -e
if [[ $TARGET_VERSION -eq 21 ]]; then
git clone --branch jdk-21.0.8+7 --depth 1 https://github.com/openjdk/jdk21u openjdk-21
if [[ $BUILD_IOS ]]; then
git clone --branch jdk-21.0.8+7 --depth 1 https://github.com/openjdk/jdk21u openjdk-21
else
# TODO: Update Android to JDK 21.0.8+7
git clone --branch jdk21.0.1 --depth 1 https://github.com/openjdk/jdk21u openjdk-21
fi
else
git clone --depth 1 https://github.com/openjdk/jdk17u openjdk-17
fi