Skip to content

Commit e4a41ff

Browse files
committed
Publish Fabric intermediary jar to maven without redundant dependency info
The dependencies are already included in the jar
1 parent db77147 commit e4a41ff

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

Fabric/build.gradle.kts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -252,24 +252,6 @@ publishing {
252252
artifactId = baseArchivesName
253253
artifact(tasks.remapJar)
254254
artifact(tasks.remapSourcesJar)
255-
256-
val dependencyInfos = dependencyProjects.map {
257-
mapOf(
258-
"groupId" to it.group,
259-
"artifactId" to it.dependencyProject.base.archivesName.get(),
260-
"version" to it.version
261-
)
262-
}
263-
264-
pom.withXml {
265-
val dependenciesNode = asNode().appendNode("dependencies")
266-
dependencyInfos.forEach {
267-
val dependencyNode = dependenciesNode.appendNode("dependency")
268-
it.forEach { (key, value) ->
269-
dependencyNode.appendNode(key, value)
270-
}
271-
}
272-
}
273255
}
274256
}
275257
repositories {

0 commit comments

Comments
 (0)