From 01aa28f28c580c1817f26ab333301f27f9d35e65 Mon Sep 17 00:00:00 2001 From: William Date: Tue, 7 Jun 2022 23:35:46 +0100 Subject: [PATCH] Update jitpack.yml --- README.md | 4 +++- jitpack.yml | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index faab3118..f49b36af 100644 --- a/README.md +++ b/README.md @@ -206,7 +206,9 @@ A code bounty program is in place for HuskSync, where developers making signific While the code bounty program is not available for translation contributors, they are still strongly appreciated in making the plugin more accessible. If you'd like to contribute translated message strings for your language, you can submit a Pull Request that creates a .yml file in `bungeecord/src/main/resources/languages` with the correct translations. ### Building -To build HuskSync you will first need to download MySqlPlayerDataBridge and `mvn install:install-file` the jar file to your local maven repository. +You can build HuskSync yourself, though please read the license and buy yourself a copy as HuskSync is indeed a premium resource. + +To build HuskSync, you'll need to get the [MPDBConverter](https://github.com/WiIIiam278/MPDBDataConverter) library, either by authenticating through GitHub packages or by downloading and running `mvn install-file` to publish it to your local maven repository. ``` mvn install:install-file -Dfile=MysqlPlayerDataBridge-v4.0.1.jar -DgroupId=net.craftersland.data -DartifactId=bridge -Dversion=4.0.1 -Dpackaging=jar ``` diff --git a/jitpack.yml b/jitpack.yml index b8ac6e7d..45c6226c 100644 --- a/jitpack.yml +++ b/jitpack.yml @@ -6,6 +6,9 @@ before_install: - 'chmod +x gradlew' - 'chmod +x ./.jitpack/ensure-java-16' - 'bash ./.jitpack/ensure-java-16 install' + - 'FILE="-Dfile=lib/mpdbdataconverter-1.0.jar"' + - 'wget https://github.com/WiIIiam278/MPDBDataConverter/releases/download/1.0/mpdbdataconverter-1.0.jar -O $FILE' + - 'mvn install:install-file $FILE -DgroupId=net.william278 -DartifactId=mpdbdataconverter -Dversion=1.0 -Dpackaging=jar -DgeneratePom=true' install: - 'if ! ./.jitpack/ensure-java-16 use; then source ~/.sdkman/bin/sdkman-init.sh; fi' - 'java -version'