From 286a547090f8328d2fac0e0b576813c7fbe6cb13 Mon Sep 17 00:00:00 2001 From: Jason Mitchell Date: Fri, 21 Jan 2022 23:12:39 -0800 Subject: [PATCH] Revert "Remove non GTNH deps from the generated pom. Cleans up a lot of noisy deps anyway." This reverts commit 5bd15b557c2cba8ab8912f0f13f9449c054e32dd. --- build.gradle | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/build.gradle b/build.gradle index fd85816..a2ab5d7 100644 --- a/build.gradle +++ b/build.gradle @@ -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) - } - } } }