Skip to content

Commit 6892523

Browse files
committed
Migrate to jar-transformer
1 parent 8431fa7 commit 6892523

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

build.gradle

Lines changed: 11 additions & 7 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.2"
3+
id "net.lenni0451.jar-transformer" version "1.1.0"
44
}
55

66
configurations {
@@ -54,10 +54,14 @@ dependencies {
5454
}
5555
}
5656

57-
dependencyRepackager {
58-
configuration = configurations.repackagedIncludeInJar
59-
relocations = [
60-
"org.cloudburstmc.netty": "org.cloudburstmc.upstream.netty"
61-
]
62-
removeEmptyDirs = true
57+
jarTransformer {
58+
dependency {
59+
configuration = configurations.repackagedIncludeInJar
60+
repackage {
61+
relocations = [
62+
"org.cloudburstmc.netty": "org.cloudburstmc.upstream.netty"
63+
]
64+
removeEmptyDirs = true
65+
}
66+
}
6367
}

0 commit comments

Comments
 (0)