Relocate properly

Closes #25
This commit is contained in:
NotMyFault committed 2021-03-10 20:08:45 +01:00
1 parent 154fecf735
commit 9ede4b73b6
2 files changed
+12 -9

No files matched your search

+11 -8
View File
@@ -40,15 +40,18 @@ version = "2.0.0"
tasks.named<ShadowJar>("shadowJar") {
archiveClassifier.set(null as String?)
dependencies {
include(dependency("org.apache.logging.log4j:log4j-slf4j-impl"))
include(dependency("org.slf4j:slf4j-api"))
include(dependency("org.bstats:bstats-bukkit:2.2.1"))
include(dependency("com.github.cryptomorin:XSeries:7.8.0"))
relocate("com.cryptomorin.xseries", "net.arcaniax.utils")
relocate("org.apache.logging.slf4j", "net.arcaniax.logging.apache")
relocate("org.slf4j", "net.arcaniax.logging.slf4j")
relocate("org.bstats", "net.arcaniax.metrics") {
relocate("com.cryptomorin.xseries", "net.arcaniax.utils") {
include(dependency("com.github.cryptomorin:XSeries:7.8.0"))
}
relocate("org.apache.logging.slf4j", "net.arcaniax.logging.apache") {
include(dependency("org.apache.logging.log4j:log4j-slf4j-impl"))
}
relocate("org.slf4j", "net.arcaniax.logging.slf4j") {
include(dependency("org.slf4j:slf4j-api"))
}
relocate("org.bstats", "net.arcaniax.buildersutilities.metrics") {
include(dependency("org.bstats:bstats-base:2.2.1"))
include(dependency("org.bstats:bstats-bukkit:2.2.1"))
}
}
}
+1 -1
View File
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists