mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-17 22:31:52 +00:00
run shaded remapped JAR task automatically on Fabric
This commit is contained in:
@@ -60,6 +60,10 @@ val remapped = tasks.register<RemapJarTask>("remapShadedJar") {
|
|||||||
remapAccessWidener.set(true)
|
remapAccessWidener.set(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.withType<Jar>() {
|
||||||
|
finalizedBy(remapped)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
tasks.register<TaskModrinthUpload>("publishModrinth") {
|
tasks.register<TaskModrinthUpload>("publishModrinth") {
|
||||||
dependsOn("remapShadedJar")
|
dependsOn("remapShadedJar")
|
||||||
|
|||||||
Reference in New Issue
Block a user