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.
12 lines
456 B
YAML
12 lines
456 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 ./.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 publishToMavenLocal' |