Stop relocating and minimizing for hk2.

This commit is contained in:
Jeremy Wood 2023-03-09 08:50:16 -05:00
parent 0f1d1adeb2
commit eac2fa53cb
No known key found for this signature in database
GPG Key ID: C5BAD04C77B91B4B

View File

@ -233,10 +233,7 @@ shadowJar {
relocate 'io.github.townyadvanced.commentedconfiguration', 'com.onarandombox.commentedconfiguration' relocate 'io.github.townyadvanced.commentedconfiguration', 'com.onarandombox.commentedconfiguration'
relocate 'me.main__.util', 'com.onarandombox.serializationconfig' relocate 'me.main__.util', 'com.onarandombox.serializationconfig'
relocate 'org.bstats', 'com.onarandombox.bstats' relocate 'org.bstats', 'com.onarandombox.bstats'
relocate 'org.glassfish.hk2', 'com.onarandombox.hk2'
relocate 'org.jvnet', 'com.onarandombox.jvnet'
relocate 'com.sun', 'com.onarandombox.sun' relocate 'com.sun', 'com.onarandombox.sun'
relocate 'io.vavr', 'com.onarandombox.vavr'
relocate 'net.minidev', 'com.onarandombox.minidev' relocate 'net.minidev', 'com.onarandombox.minidev'
relocate 'org.objectweb', 'com.onarandombox.objectweb' relocate 'org.objectweb', 'com.onarandombox.objectweb'
@ -249,12 +246,6 @@ shadowJar {
it.moduleGroup == 'org.jetbrains.kotlin' it.moduleGroup == 'org.jetbrains.kotlin'
}) })
} }
minimize {
exclude(dependency {
it.moduleGroup == 'co.aikar'
})
}
} }
build.dependsOn shadowJar build.dependsOn shadowJar