mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-03 06:28:49 +00:00
jitpack: Publish API with Java 17
This commit is contained in:
2 files changed
+7
-7
No files matched your search
+5
-5
@@ -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'
|
||||
Reference in new issue
Block a user