Skip to content

Commit

Permalink
Remove code that forces Groovy 4 now that dependencies have been updated
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesfredley committed Sep 21, 2024
1 parent 27af60b commit 0051fff
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -213,18 +213,6 @@ if (isReleaseVersion) {
}
}

// FORCE UPGRADE OF GROOVY IN DEPENDENCIES TO GROOVY 4
// except in projects that will be run by Gradle during the build
configure(allprojects - project(':grails-shell') - project(':grails-bootstrap') - project(':grails-gradle-model')){
configurations.configureEach {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
if (details.requested.group == 'org.codehaus.groovy' && details.requested.name != 'groovy-bom') {
details.useTarget(group: 'org.apache.groovy', name: details.requested.name, version: groovyVersion)
}
}
}
}

allprojects {
repositories {
mavenLocal()
Expand Down

0 comments on commit 0051fff

Please sign in to comment.