Work around a loom bug causing empty jars to be pushed to maven local.

This commit is contained in:
modmuss50 2021-11-16 13:00:59 +00:00
parent 6f7198934d
commit 713ff39cb4

View file

@ -242,6 +242,10 @@ subprojects {
genSourcesWithFernFlower.enabled = false
genSourcesWithCfr.enabled = false
unpickJar.enabled = false
// Work around a loom bug causing empty jars to be pushed to maven local.
publishMavenJavaPublicationToMavenLocal.dependsOn rootProject.tasks.getByName("remapAllJars")
publishMavenJavaPublicationToMavenLocal.dependsOn rootProject.tasks.getByName("remapAllSources")
}
}