Relocate zstd

This commit is contained in:
NotMyFault 2021-05-12 18:04:21 +02:00
parent 7b6fde2579
commit 9ff47d3404
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C
3 changed files with 5 additions and 9 deletions

View File

@ -162,6 +162,9 @@ tasks.named<ShadowJar>("shadowJar") {
relocate("com.intellectualsites.paster", "com.boydti.fawe.paster") {
include(dependency("com.intellectualsites.paster:Paster:1.0.1-SNAPSHOT"))
}
relocate("com.github.luben", "com.boydti.fawe.zstd") {
include(dependency("com.github.luben:zstd-jni:1.4.9-5"))
}
}
}

View File

@ -48,8 +48,8 @@ dependencies {
annotationProcessor("com.google.guava:guava:21.0")
compileOnly("com.google.auto.value:auto-value-annotations:${Versions.AUTO_VALUE}")
annotationProcessor("com.google.auto.value:auto-value:${Versions.AUTO_VALUE}")
"testRuntimeOnly"("org.apache.logging.log4j:log4j-core:2.8.1")
implementation("com.github.luben:zstd-jni:1.4.9-2")
testRuntimeOnly("org.apache.logging.log4j:log4j-core:2.8.1")
implementation("com.github.luben:zstd-jni:1.4.9-5")
compileOnly("net.fabiozumbi12:redprotect:1.9.6")
api("com.github.intellectualsites.plotsquared:PlotSquared-API:4.514") { isTransitive = false }
api("com.plotsquared:PlotSquared-Core:5.13.11") { isTransitive = false }
@ -102,9 +102,3 @@ tasks.named<Copy>("processResources") {
"date" to "${rootProject.ext["date"]}")
}
}
tasks.named<ShadowJar>("shadowJar") {
dependencies {
include(dependency("com.github.luben:zstd-jni:1.4.9-2"))
}
}

View File

@ -9,7 +9,6 @@ dependencies {
exclude(group = "junit", module = "junit")
}
"shade"("com.thoughtworks.paranamer:paranamer:2.8")
"shade"("com.github.luben:zstd-jni:1.4.9-2")
"shade"("com.sk89q.lib:jlibnoise:1.0.0")
"shade"("org.enginehub.piston:core:${Versions.PISTON}")
"shade"("org.enginehub.piston.core-ap:runtime:${Versions.PISTON}")