forked from public-mirrors/HuskSync
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
491 B
YAML
13 lines
491 B
YAML
# 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 ./.scripts/ensure-java-16'
|
|
- 'bash ./.scripts/ensure-java-16 install'
|
|
- 'bash ./.scripts/install-mpdb-converter'
|
|
install:
|
|
- 'if ! ./.scripts/ensure-java-16 use; then source ~/.sdkman/bin/sdkman-init.sh; fi'
|
|
- 'java -version'
|
|
- './gradlew api:build' |