jitpack: Publish API with Java 17

This commit is contained in:
William committed 2023-04-17 21:56:16 +01:00
1 parent e898a8477e
commit 4b8a0f5719
2 files changed
+7 -7

No files matched your search

+5 -5
View File
@@ -1,12 +1,12 @@
# This file ensures jitpack builds HuskHomes correctly by setting the JDK to 16
# This file ensures jitpack builds HuskHomes correctly by setting the JDK to 17
jdk:
- 'openjdk16'
- 'openjdk17'
before_install:
- 'git clone https://github.com/WiIIiam278/HuskHomes2.git --recurse-submodules'
- 'chmod +x gradlew'
- 'chmod +x ./.scripts/ensure-java-16'
- 'bash ./.scripts/ensure-java-16 install'
- 'chmod +x ./.scripts/ensure-java-17'
- 'bash ./.scripts/ensure-java-17 install'
install:
- 'if ! ./.scripts/ensure-java-16 use; then source ~/.sdkman/bin/sdkman-init.sh; fi'
- 'if ! ./.scripts/ensure-java-17 use; then source ~/.sdkman/bin/sdkman-init.sh; fi'
- 'java -version'
- './gradlew publishToMavenLocal'