Skip to content

Commit

Permalink
Grace: update gradle build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
rainboyan committed Jan 9, 2024
1 parent b7a1d53 commit 5f22613
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -108,29 +108,6 @@ publishing {
url = 'https://github.com/graceframework/grace-geb/tree/5.0.x'
}
}

pom.withXml {
def pomNode = asNode()

try {
pomNode.dependencyManagement.replaceNode {}
} catch (Throwable e) {
// ignore
}

// simply remove dependencies without a version
// version-less dependencies are handled with dependencyManagement
// see https://github.com/spring-gradle-plugins/dependency-management-plugin/issues/8 for more complete solutions
pomNode.dependencies.dependency.findAll {
it.version.text().isEmpty()
}.each {
try {
it.replaceNode {}
} catch (Throwable e) {
// ignore
}
}
}
}
}
}
Expand Down

0 comments on commit 5f22613

Please sign in to comment.