Make some improvements to the Forge side - still not fixed

This commit is contained in:
Madeline Miller 2022-03-17 16:14:34 +10:00
parent b8d096ba99
commit dd69617272
No known key found for this signature in database
GPG Key ID: B8EA2E5693115D81
2 changed files with 7 additions and 4 deletions

View File

@ -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)
}
}

View File

@ -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")
}