run shaded remapped JAR task automatically on Fabric

This commit is contained in:
dfsek 2021-11-25 09:37:08 -07:00
parent a2dcbf69c7
commit 034b01a04c

View File

@ -60,6 +60,10 @@ val remapped = tasks.register<RemapJarTask>("remapShadedJar") {
remapAccessWidener.set(true)
}
tasks.withType<Jar>() {
finalizedBy(remapped)
}
tasks.register<TaskModrinthUpload>("publishModrinth") {
dependsOn("remapShadedJar")