Commit 735ce32
committed
Revert gradle-groovy.version to hard-coded 4.0.31
Reverts cc2f85f. `GroovySystem.version` returns Gradle's bundled
Groovy, which can lag the version grails-gradle code resolves
transitively via grails-core. The `validateDependencyVersions` task
in CI failed because the BOM advertised Gradle's bundled version while
the modules actually resolved grails-core's:
org.apache.groovy:groovy - resolved <core>, expected <gradle-bundled>
org.apache.groovy:groovy-ant - resolved <core>, expected <gradle-bundled>
org.apache.groovy:groovy-groovydoc - resolved <core>, expected <gradle-bundled>
org.apache.groovy:groovy-templates - resolved <core>, expected <gradle-bundled>
... etc
Going back to the hard-coded literal so the BOM matches what we
actually publish. Added an inline comment explaining why
`GroovySystem.version` is not viable here (without specific version
numbers, since those drift every Gradle/Groovy bump).
Verified: `./gradlew :grails-gradle-plugins:validateDependencyVersions
:grails-gradle-tasks:validateDependencyVersions` and
`./gradlew validateDependencyVersions` (whole project, 157 tasks)
both pass.
See #15365 (comment)
for the discussion thread.
Assisted-by: claude-code:claude-opus-4-71 parent ccafe2b commit 735ce32
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
| |||
0 commit comments