mirror of
https://github.com/AngelAuraMC/angelauramc-openjdk-build.git
synced 2025-08-03 23:55:58 -04:00
12 lines
373 B
Bash
Executable File
12 lines
373 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
# TODO: use jdk17u repo for building for Android
|
|
if [ "$BUILD_IOS" != "1" ]; then
|
|
git clone --depth 1 https://github.com/PojavLauncherTeam/mobile openjdk
|
|
else
|
|
git clone --depth 1 https://github.com/PojavLauncherTeam/jdk17u openjdk
|
|
# Hack: exclude building macOS stuff
|
|
mv openjdk/src/java.desktop/macosx openjdk/src/java.desktop/macosx_NOTIOS
|
|
fi
|