This commit is contained in:
NotMyFault 2021-09-07 10:41:42 +02:00
parent 8c328abdd2
commit dc11b74020
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C
4 changed files with 7 additions and 3 deletions

View File

@ -72,7 +72,7 @@ fun Project.applyPlatformAndCoreConfiguration() {
options.encoding = "UTF-8" options.encoding = "UTF-8"
links( links(
"https://javadoc.io/doc/com.google.code.findbugs/jsr305/3.0.2/", "https://javadoc.io/doc/com.google.code.findbugs/jsr305/3.0.2/",
"https://jd.adventure.kyori.net/api/4.9.0/", "https://jd.adventure.kyori.net/api/4.9.1/",
"https://javadoc.io/doc/org.apache.logging.log4j/log4j-api/2.14.1/", "https://javadoc.io/doc/org.apache.logging.log4j/log4j-api/2.14.1/",
"https://javadoc.io/doc/com.google.guava/guava/21.0/", "https://javadoc.io/doc/com.google.guava/guava/21.0/",
"https://www.antlr.org/api/Java/", "https://www.antlr.org/api/Java/",

View File

@ -31,7 +31,7 @@ serverlib = "2.2.1"
paster = "1.1.1" paster = "1.1.1"
sparsebitset = "1.2" sparsebitset = "1.2"
parallelgzip = "1.0.5" parallelgzip = "1.0.5"
adventure = "4.9.0" adventure = "4.9.1"
truezip = "6.8.4" truezip = "6.8.4"
auto-value = "1.7.4" auto-value = "1.7.4"
findbugs = "3.0.2" findbugs = "3.0.2"

View File

@ -172,7 +172,7 @@ tasks.named<ShadowJar>("shadowJar") {
include(dependency("org.lz4:lz4-java:1.8.0")) include(dependency("org.lz4:lz4-java:1.8.0"))
} }
relocate("net.kyori", "com.fastasyncworldedit.core.adventure") { relocate("net.kyori", "com.fastasyncworldedit.core.adventure") {
include(dependency("net.kyori:adventure-nbt:4.9.0")) include(dependency("net.kyori:adventure-nbt:4.9.1"))
} }
relocate("com.zaxxer", "com.fastasyncworldedit.core.math") { relocate("com.zaxxer", "com.fastasyncworldedit.core.math") {
include(dependency("com.zaxxer:SparseBitSet:1.2")) include(dependency("com.zaxxer:SparseBitSet:1.2"))

View File

@ -39,12 +39,16 @@ dependencies {
) )
implementation("commons-cli:commons-cli:1.4") implementation("commons-cli:commons-cli:1.4")
api(libs.parallelgzip) { isTransitive = false } api(libs.parallelgzip) { isTransitive = false }
api(libs.lz4Java)
api(libs.lz4JavaStream) { isTransitive = false }
} }
tasks.named<ShadowJar>("shadowJar") { tasks.named<ShadowJar>("shadowJar") {
dependencies { dependencies {
include { true } include { true }
relocate("org.anarres", "com.fastasyncworldedit.core.internal.io") relocate("org.anarres", "com.fastasyncworldedit.core.internal.io")
relocate("net.jpountz", "com.fastasyncworldedit.core.jpountz")
relocate("org.lz4", "com.fastasyncworldedit.core.lz4")
} }
archiveFileName.set(moduleIdentifier) archiveFileName.set(moduleIdentifier)
minimize { minimize {