Skip to content

Commit cfc9ffc

Browse files
committed
fix module maven poms
1 parent 2ca7063 commit cfc9ffc

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,14 @@ def setUpModule(project, String... dependencies) {
379379
}
380380

381381
from project.components.java
382+
383+
pom.withXml {
384+
asNode().dependencies.dependency.each { dep ->
385+
if (dep.groupId.last().value().last() == project.group) {
386+
dep.parent().remove(dep)
387+
}
388+
}
389+
}
382390
}
383391
}
384392
repositories {

0 commit comments

Comments
 (0)