diff --git a/api/build.gradle b/api/build.gradle index 2f8bcb0e..c8d734a1 100644 --- a/api/build.gradle +++ b/api/build.gradle @@ -7,4 +7,14 @@ dependencies { } shadowJar { + relocate 'de.themoep', 'net.william278.husksync.libraries' + relocate 'org.bstats', 'net.william278.husksync.libraries.bstats' + relocate 'redis.clients', 'net.william278.husksync.libraries' + relocate 'org.apache', 'net.william278.husksync.libraries' + relocate 'net.william278.mpdbconverter', 'net.william278.husksync.libraries.mpdbconverter' +} + +java { + withSourcesJar() + withJavadocJar() } \ No newline at end of file diff --git a/bukkit/build.gradle b/bukkit/build.gradle index 40c5902b..18ab7c80 100644 --- a/bukkit/build.gradle +++ b/bukkit/build.gradle @@ -14,6 +14,5 @@ shadowJar { relocate 'org.bstats', 'net.william278.husksync.libraries.bstats' relocate 'redis.clients', 'net.william278.husksync.libraries' relocate 'org.apache', 'net.william278.husksync.libraries' - relocate 'net.william278.mpdbdataconverter', 'net.william278.husksync.libraries.mpdbdataconverter' - + relocate 'net.william278.mpdbconverter', 'net.william278.husksync.libraries.mpdbconverter' } \ No newline at end of file diff --git a/common/build.gradle b/common/build.gradle index 3c50b1f5..2181c512 100644 --- a/common/build.gradle +++ b/common/build.gradle @@ -6,10 +6,6 @@ dependencies { compileOnly 'com.zaxxer:HikariCP:5.0.1' } -java { - withJavadocJar() -} - shadowJar { relocate 'com.zaxxer', 'net.william278.husksync.libraries' } \ No newline at end of file diff --git a/jitpack.yml b/jitpack.yml index 0bea7c12..d33fa3f1 100644 --- a/jitpack.yml +++ b/jitpack.yml @@ -10,4 +10,4 @@ before_install: install: - 'if ! ./.jitpack/ensure-java-16 use; then source ~/.sdkman/bin/sdkman-init.sh; fi' - 'java -version' - - './gradlew publishToMavenLocal' \ No newline at end of file + - './gradlew clean publishToMavenLocal' \ No newline at end of file