Skip to content

Commit

Permalink
Remove unneeded Groovy 4 config
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesfredley committed Sep 6, 2024
1 parent 6b1340e commit cf96c04
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,4 @@ subprojects {
//do not generate extra load on Nexus with new staging repository if signing fails
tasks.withType(InitializeNexusStagingRepository).configureEach {
shouldRunAfter tasks.withType(Sign)
}

configurations.configureEach {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
if ((details.requested.group == 'org.codehaus.groovy' || details.requested.group == 'org.apache.groovy') && details.requested.name != 'groovy-bom') {
details.useTarget(group: 'org.apache.groovy', name: details.requested.name, version: "$groovyVersion")
details.because "The dependency coordinates are changed in Apache Groovy 4, plus ensure version"
}
}
}

0 comments on commit cf96c04

Please sign in to comment.