Add JitPack integration and maven publishing

This commit is contained in:
William committed 2022-08-29 15:39:30 +01:00
1 parent 4fbc117792
commit e6f4e4f997
4 files changed
+66 -4

No files matched your search

+12
View File
@@ -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'