mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-03 22:16:34 +00:00
Add JitPack integration and maven publishing
This commit is contained in:
1 parent
4fbc117792
commit
e6f4e4f997
4 files changed
+66
-4
No files matched your search
+12
@@ -0,0 +1,12 @@
|
||||
# This file ensures jitpack builds HuskSync correctly by setting the JDK to 16
|
||||
jdk:
|
||||
- 'openjdk16'
|
||||
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'
|
||||
install:
|
||||
- 'if ! ./.scripts/ensure-java-16 use; then source ~/.sdkman/bin/sdkman-init.sh; fi'
|
||||
- 'java -version'
|
||||
- './gradlew publishToMavenLocal'
|
||||
Reference in new issue
Block a user