perf: 优化依赖大小

This commit is contained in:
2024-03-17 20:52:06 +08:00
parent 4a07209bc2
commit 15833af7e8
3 changed files with 3 additions and 1 deletions

View File

@@ -60,6 +60,7 @@ tasks {
archiveClassifier = "Java8"
from(project.configurations.runtimeClasspath.get().map { if (it.isDirectory) it else zipTree(it) })
from(processResources.get().outputs)
from(jar.get().outputs)
from(shadeJava8.map { if (it.isDirectory) it else zipTree(it) })
destinationDirectory = rootProject.layout.buildDirectory
relocate("de.tr7zw.changeme.nbtapi", "cn.hamster3.mc.plugin.core.lib.de.tr7zw.nbtapi")