sorting out pom dependencies

This commit is contained in:
Andy Clement
2014-04-24 13:42:59 -07:00
parent a7ee062830
commit 99cee5dfe7

View File

@@ -12,6 +12,7 @@ def customizePom(pom, gradleProject) {
generatedPom.dependencies = generatedPom.dependencies.sort { dep ->
"$dep.scope:$dep.groupId:$dep.artifactId"
}
generatedPom.dependencies.clear();
// add all items necessary for maven central publication
generatedPom.project {