mirror of
https://github.com/AngelAuraMC/angelauramc-openjdk-build.git
synced 2025-08-03 23:55:58 -04:00
14 lines
415 B
Bash
Executable File
14 lines
415 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
if [[ $TARGET_VERSION -eq 21 ]]; then
|
|
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
|