Skip to content

Commit ec803eb

Browse files
committed
Update lz4 to 1.10.2
Signed-off-by: Alexander Brandes <[email protected]>
1 parent f9e66db commit ec803eb

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ antlr4 = "4.13.2"
3232
json-simple = "1.1.1"
3333
jlibnoise = "1.0.0"
3434
jchronic = "0.2.4a"
35-
lz4-java = "1.8.0"
35+
lz4-java = "1.10.2"
3636
lz4-stream = "1.0.0"
3737
commons-cli = "1.11.0"
3838
paperLib = "1.0.8"
@@ -108,7 +108,7 @@ antlr4-runtime = { group = "org.antlr", name = "antlr4-runtime", version.ref = "
108108
json-simple = { group = "com.googlecode.json-simple", name = "json-simple", version.ref = "json-simple" }
109109
jlibnoise = { group = "com.sk89q.lib", name = "jlibnoise", version.ref = "jlibnoise" }
110110
jchronic = { group = "com.sk89q", name = "jchronic", version.ref = "jchronic" }
111-
lz4Java = { group = "org.lz4", name = "lz4-java", version.ref = "lz4-java" }
111+
lz4Java = { group = "at.yawk.lz4", name = "lz4-java", version.ref = "lz4-java" }
112112
lz4JavaStream = { group = "net.jpountz", name = "lz4-java-stream", version.ref = "lz4-stream" }
113113
commonsCli = { group = "commons-cli", name = "commons-cli", version.ref = "commons-cli" }
114114
paperLib = { group = "io.papermc", name = "paperlib", version.ref = "paperLib" }

worldedit-bukkit/build.gradle.kts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,21 @@ val adaptersReobf = configurations.create("adaptersReobf") {
7979
extendsFrom(adapters)
8080
}
8181

82+
allprojects {
83+
configurations.configureEach {
84+
resolutionStrategy {
85+
capabilitiesResolution {
86+
withCapability("org.lz4:lz4-java") {
87+
select(candidates.first {
88+
(it.id as org.gradle.api.artifacts.component.ModuleComponentIdentifier).group == "at.yawk.lz4"
89+
})
90+
}
91+
}
92+
}
93+
}
94+
}
95+
96+
8297
dependencies {
8398
api(project(":worldedit-core"))
8499
api(project(":worldedit-libs:bukkit"))

0 commit comments

Comments
 (0)