mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-21 04:49:51 +08:00
043c3315aa
* Repair fabric POM * Fix-up a ton of publishing errors * Remove shadow jar from publishing * Remove shadow application from platform/core
25 lines
619 B
Plaintext
25 lines
619 B
Plaintext
import net.fabricmc.loom.task.RemapJarTask
|
|
|
|
plugins {
|
|
base
|
|
}
|
|
|
|
applyCommonConfiguration()
|
|
|
|
tasks.register<Jar>("jar") {
|
|
val remapFabric = project(":worldedit-fabric").tasks.named<RemapJarTask>("remapShadowJar")
|
|
dependsOn(
|
|
remapFabric,
|
|
project(":worldedit-forge").tasks.named("reobfShadowJar")
|
|
)
|
|
from(zipTree({remapFabric.get().archiveFile}))
|
|
from(zipTree({project(":worldedit-forge").tasks.getByName("shadowJar").outputs.files.singleFile}))
|
|
|
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
|
archiveClassifier.set("dist")
|
|
}
|
|
|
|
tasks.named("assemble") {
|
|
dependsOn("jar")
|
|
}
|