Skip to content

Commit

Permalink
force groovy 3 in grails-bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesfredley committed Sep 21, 2024
1 parent 6cfc4cb commit d1c0949
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions grails-bootstrap/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@ dependencies {
testImplementation "jline:jline:$jlineVersion"
}

configurations.configureEach {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
if (details.requested.group == 'org.codehaus.groovy' && details.requested.name != 'groovy-bom') {
details.useTarget(group: 'org.codehaus.groovy', name: details.requested.name, version: GroovySystem.version)
}
}
}


processResources {
inputs.property "version", version
filter(ReplaceTokens, tokens:[version:version])
Expand Down

0 comments on commit d1c0949

Please sign in to comment.