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.
HuskSync/jitpack.yml

15 lines
764 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'
- 'FILE="-Dfile=lib/mpdbdataconverter-1.0.jar"'
- 'wget https://github.com/WiIIiam278/MPDBDataConverter/releases/download/1.0/mpdbdataconverter-1.0.jar -O $FILE'
- 'mvn install:install-file $FILE -DgroupId=net.william278 -DartifactId=mpdbdataconverter -Dversion=1.0 -Dpackaging=jar -DgeneratePom=true'
install:
- 'if ! ./.jitpack/ensure-java-16 use; then source ~/.sdkman/bin/sdkman-init.sh; fi'
- 'java -version'
- './gradlew publishToMavenLocal'