mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-11-21 01:13:09 +08:00
Make some improvements to the Forge side - still not fixed
This commit is contained in:
parent
b8d096ba99
commit
dd69617272
@ -57,8 +57,8 @@
|
||||
}
|
||||
|
||||
configure<org.spongepowered.asm.gradle.plugins.MixinExtension> {
|
||||
add(sourceSets["main"], "worldedit.mixins.refmap.json")
|
||||
config("worldedit.mixins.json")
|
||||
add(sourceSets["main"], "worldedit-forge.mixins.refmap.json")
|
||||
config("worldedit-forge.mixins.json")
|
||||
}
|
||||
|
||||
configure<BasePluginConvention> {
|
||||
@ -167,5 +167,8 @@
|
||||
|
||||
afterEvaluate {
|
||||
val reobf = extensions.getByName<NamedDomainObjectContainer<RenameJarInPlace>>("reobf")
|
||||
reobf.create("shadowJar")
|
||||
reobf.create("shadowJar") {
|
||||
dependsOn(tasks["createMcpToSrg"])
|
||||
mappings.set(tasks["createMcpToSrg"].outputs.files.singleFile)
|
||||
}
|
||||
}
|
||||
|
@ -15,7 +15,7 @@
|
||||
from(zipTree({remapFabric.get().archiveFile}))
|
||||
from(zipTree({project(":worldedit-forge").tasks.getByName("shadowJar").outputs.files.singleFile}))
|
||||
|
||||
duplicatesStrategy = DuplicatesStrategy.WARN
|
||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||
archiveClassifier.set("dist")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user