make gradlew mavenToLocalRepo work.

This commit is contained in:
Dawid Weiss 2021-03-10 13:03:48 +01:00
parent 2b9f5bb537
commit ee4871f24a
1 changed files with 2 additions and 1 deletions

View File

@ -259,7 +259,8 @@ configure(subprojects.findAll { it.path in rootProject.published }) { prj ->
//
// https://github.com/palantir/gradle-consistent-versions/issues/550
withXml {
asNode().dependencyManagement.replaceNode {}
def dm = asNode().dependencyManagement
if (dm) dm.replaceNode {}
}
})
}