Revert "Remove non GTNH deps from the generated pom. Cleans up a lot of noisy deps anyway."

This reverts commit 5bd15b557c.
This commit is contained in:
Jason Mitchell committed 2022-01-21 23:12:39 -08:00
1 parent 5bd15b557c
commit 286a547090
1 file changed
+1 -13
+1 -13
View File
@@ -1,4 +1,4 @@
//version: 1642833682
//version: 1642784244
/*
DO NOT CHANGE THIS FILE!
@@ -515,18 +515,6 @@ publishing {
artifactId = System.getenv("ARTIFACT_ID") ?: project.name
// Using the identified version, not project.version as it has the prepended 1.7.10
version = System.getenv("RELEASE_VERSION") ?: identifiedVersion
// Remove all non GTNH deps here.
// Original intention was to remove an invalid forgeBin being generated without a groupId (mandatory), but
// it also removes all of the MC deps
pom.withXml {
Node pomNode = asNode()
pomNode.dependencies.'*'.findAll() {
it.groupId.text() != 'com.github.GTNewHorizons'
}.each() {
it.parent().remove(it)
}
}
}
}