-
Notifications
You must be signed in to change notification settings - Fork 49
/
jitpack.yml
25 lines (25 loc) · 4.08 KB
/
jitpack.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
before_install:
- git config --global --unset core.autocrlf
- sdk install maven
- sdk install java 16.0.2-open
- JAVA_16=/home/jitpack/.sdkman/candidates/java/16.0.2-open/bin/java
- sdk install java 17.0.2-open
- JAVA_17=/home/jitpack/.sdkman/candidates/java/17.0.2-open/bin/java
- sdk install java 21.0.2-open
- JAVA_21=/home/jitpack/.sdkman/candidates/java/21.0.2-open/bin/java
- (mkdir BuildTools_1.17 && cd BuildTools_1.17 && curl -k -o BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar && $JAVA_16 -jar BuildTools.jar --rev 1.17 --remapped > /dev/null) &
(mkdir BuildTools_1.17.1 && cd BuildTools_1.17.1 && curl -k -o BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar && $JAVA_16 -jar BuildTools.jar --rev 1.17.1 --remapped > /dev/null) &
(mkdir BuildTools_1.18 && cd BuildTools_1.18 && curl -k -o BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar && $JAVA_17 -jar BuildTools.jar --rev 1.18.1 --remapped > /dev/null) &
(mkdir BuildTools_1.18.2 && cd BuildTools_1.18.2 && curl -k -o BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar && $JAVA_17 -jar BuildTools.jar --rev 1.18.2 --remapped > /dev/null) &
(mkdir BuildTools_1.19 && cd BuildTools_1.19 && curl -k -o BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar && $JAVA_17 -jar BuildTools.jar --rev 1.19 --remapped > /dev/null) &
(mkdir BuildTools_1.19.1 && cd BuildTools_1.19.1 && curl -k -o BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar && $JAVA_17 -jar BuildTools.jar --rev 1.19.2 --remapped > /dev/null) &
(mkdir BuildTools_1.19.3 && cd BuildTools_1.19.3 && curl -k -o BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar && $JAVA_17 -jar BuildTools.jar --rev 1.19.3 --remapped > /dev/null) &
(mkdir BuildTools_1.19.4 && cd BuildTools_1.19.4 && curl -k -o BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar && $JAVA_17 -jar BuildTools.jar --rev 1.19.4 --remapped > /dev/null) &
(mkdir BuildTools_1.20 && cd BuildTools_1.20 && curl -k -o BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar && $JAVA_17 -jar BuildTools.jar --rev 1.20.1 --remapped > /dev/null) &
(mkdir BuildTools_1.20.2 && cd BuildTools_1.20.2 && curl -k -o BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar && $JAVA_17 -jar BuildTools.jar --rev 1.20.2 --remapped > /dev/null) &
(mkdir BuildTools_1.20.4 && cd BuildTools_1.20.4 && curl -k -o BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar && $JAVA_17 -jar BuildTools.jar --rev 1.20.4 --remapped > /dev/null) &
(mkdir BuildTools_1.20.6 && cd BuildTools_1.20.6 && curl -k -o BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar && $JAVA_21 -jar BuildTools.jar --rev 1.20.6 --remapped > /dev/null) &
(mkdir BuildTools_1.21.1 && cd BuildTools_1.21.1 && curl -k -o BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar && $JAVA_21 -jar BuildTools.jar --rev 1.21.1 --remapped > /dev/null) &
(mkdir BuildTools_1.21.3 && cd BuildTools_1.21.3 && curl -k -o BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar && $JAVA_21 -jar BuildTools.jar --rev 1.21.3 --remapped > /dev/null) &
(mkdir BuildTools_1.21.4 && cd BuildTools_1.21.4 && curl -k -o BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar && $JAVA_21 -jar BuildTools.jar --rev 1.21.4 --remapped > /dev/null)
- sdk use java 21.0.2-open