2022-08-23 07:28:28 +07:00

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