Skip to content

Commit 8e85479

Browse files
committed
Remove extra dependencyManagement of generated POM
Closes gh-36
1 parent fc02bb2 commit 8e85479

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

build.gradle

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,15 @@ publishing {
150150
developerConnection = 'scm:git:ssh://github.com:graceframework/grace-database-migration.git'
151151
url = 'https://github.com/graceframework/grace-database-migration'
152152
}
153+
154+
withXml {
155+
def pomNode = asNode()
156+
157+
try {
158+
pomNode.dependencyManagement.replaceNode {}
159+
} catch (Throwable ignore) {
160+
}
161+
}
153162
}
154163
}
155164
}

0 commit comments

Comments
 (0)