Strip pom.xml dependencies.

This commit is contained in:
Sebastian Hartte
2020-08-26 11:39:03 +02:00
parent 5efc085693
commit 00d4c20d9f
+7
View File
@@ -190,6 +190,13 @@ publishing {
groupId = project.group
artifactId = project.archivesBaseName
version = project.version
// ForgeGradle will generate wild dependency definitions, see https://github.com/MinecraftForge/ForgeGradle/issues/584
// Since we don't actually depend on anything, just remove the entire node.
pom.withXml {
asNode().remove(asNode().dependencies)
}
from components.java
artifact sourcesJar
artifact javadocJar