Skip to content

Commit b1323e8

Browse files
committed
Updated repackager
1 parent d4ac391 commit b1323e8

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

build.gradle

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id "viaproxy.plugin-conventions"
3-
id "net.lenni0451.repackager" version "1.0.1"
3+
id "net.lenni0451.repackager" version "1.0.2"
44
}
55

66
configurations {
@@ -33,9 +33,17 @@ dependencies {
3333
dependencyRepackager {
3434
configuration = configurations.repackagedIncludeInJar
3535
relocations = [
36-
"org.apache": "com.github.dirtpowered.betatorelease.libs.org.apache",
36+
"org.apache.commons" : "com.github.dirtpowered.betatorelease.libs.org.apache.commons",
3737
"net.lenni0451.mcstructs": "com.github.dirtpowered.betatorelease.libs.net.lenni0451.mcstructs",
38-
"com.google": "com.github.dirtpowered.betatorelease.libs.com.google"
38+
"com.google" : "com.github.dirtpowered.betatorelease.libs.com.google"
39+
]
40+
removals = [
41+
"org/apache/logging/log4j",
42+
"io/netty",
43+
"META-INF/org/apache/logging/log4j",
44+
"META-INF/versions/9/org/apache/logging/log4j",
45+
"META-INF/services/org.apache.logging.log4j",
46+
"log4j"
3947
]
4048
removeEmptyDirs = true
4149
}

0 commit comments

Comments
 (0)