|
|
|
@ -4,10 +4,10 @@ jdk:
|
|
|
|
|
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'
|
|
|
|
|
- 'bash ./.jitpack/install-mpdb-converter'
|
|
|
|
|
- 'chmod +x ./.scripts/ensure-java-16'
|
|
|
|
|
- 'bash ./.scripts/ensure-java-16 install'
|
|
|
|
|
- 'bash ./.scripts/install-mpdb-converter'
|
|
|
|
|
install:
|
|
|
|
|
- 'if ! ./.jitpack/ensure-java-16 use; then source ~/.sdkman/bin/sdkman-init.sh; fi'
|
|
|
|
|
- 'if ! ./.scripts/ensure-java-16 use; then source ~/.sdkman/bin/sdkman-init.sh; fi'
|
|
|
|
|
- 'java -version'
|
|
|
|
|
- './gradlew clean publishToMavenLocal'
|