ci: 优化构建脚本
This commit is contained in:
@@ -50,11 +50,7 @@ tasks {
|
||||
shadowJar {
|
||||
dependsOn(":core-relocate-lettuce:shadowJar")
|
||||
val task = project(":core-relocate-lettuce").tasks.shadowJar.get()
|
||||
from(task.outputs.files.map {
|
||||
if (it.isDirectory) it else zipTree(
|
||||
it
|
||||
)
|
||||
})
|
||||
from(task.outputs.files.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")
|
||||
relocate("de.tr7zw.annotations", "cn.hamster3.mc.plugin.core.lib.de.tr7zw.nbtapi.annotations")
|
||||
|
Reference in New Issue
Block a user