build: 优化构建成品大小

This commit is contained in:
2024-01-20 16:42:06 +08:00
parent aaef3c564c
commit f1b8edba45
7 changed files with 14 additions and 10 deletions

View File

@@ -50,15 +50,15 @@ subprojects {
}
shadowJar {
archiveClassifier = ""
relocate("io.netty", "cn.hamster3.mc.plugin.core.lib.io.netty")
relocate("io.lettuce", "cn.hamster3.mc.plugin.core.lib.io.lettuce")
relocate("reactor", "cn.hamster3.mc.plugin.core.lib.reactor")
relocate("org.reactivestreams", "cn.hamster3.mc.plugin.core.lib.org.reactivestreams")
relocate("org.quartz", "cn.hamster3.mc.plugin.core.lib.org.quartz")
relocate("org.terracotta.quartz", "cn.hamster3.mc.plugin.core.lib.org.terracotta.quartz")
relocate("net.kyori", "cn.hamster3.mc.plugin.core.lib.net.kyori")
relocate("com.zaxxer.hikari", "cn.hamster3.mc.plugin.core.lib.com.zaxxer.hikari")
relocate("net.kyori", "cn.hamster3.mc.plugin.core.lib.net.kyori")
relocate("de.tr7zw.changeme.nbtapi", "cn.hamster3.mc.plugin.core.lib.de.tr7zw.nbtapi")
relocate("de.tr7zw.annotations", "cn.hamster3.mc.plugin.core.lib.de.tr7zw.nbtapi.annotations")
}