# This file ensures jitpack builds HuskSync correctly by setting the JDK to 16 jdk: - 'openjdk16' before_install: - 'git clone https://github.com/WiIIiam278/HuskSync.git --recurse-submodules' - 'chmod +x gradlew' - 'chmod +x ./.jitpack/ensure-java-16' - 'bash ./.jitpack/ensure-java-16 install' install: - 'if ! ./.jitpack/ensure-java-16 use; then source ~/.sdkman/bin/sdkman-init.sh; fi' - 'java -version' - './gradlew api:clean api:publishToMavenLocal'