The GitHub Actions job "CI" on 
grails-core.git/feat/gradle-managed-version-overrides has failed.
Run started by GitHub user jamesfredley (triggered by jamesfredley).

Head commit for run:
2ca302b164aeef5c4d7837ff291ac0832d6344e0 / James Fredley 
<[email protected]>
Extract BOM property overrides into a standalone Gradle plugin (PR #15467 
review)

Addresses jdaugherty's review feedback on PR #15467:

1. The property-override mechanism (formerly inlined in 
GrailsGradlePlugin.applyGrailsBom) is now published as a standalone, 
BOM-agnostic plugin: org.apache.grails.gradle.bom-property-overrides (new 
grails-gradle-bom-property-overrides module). The plugin:

  - Lives in its own subproject so it can be maintained / consumed 
independently of the Grails BOM

  - Auto-detects every platform()/enforcedPlatform() declaration on the 
project's configurations and registers each unique BOM for property-override 
processing

  - Exposes a 'bomPropertyOverrides' extension with autoDetect (default: true) 
and an explicit boms list for advanced cases

  - Re-uses the BomManagedVersions utility (moved to 
org.grails.gradle.plugin.bom) which now accepts a Collection of BOM coordinates

GrailsGradlePlugin.applyGrailsBom now applies the new plugin in place of the 
inline BomManagedVersions usage; the auto-detect logic picks up the 
platform(grails-bom) we declare plus any additional platforms (e.g. 
enforcedPlatform(grails-micronaut-bom)) the user adds.

2. Documentation (grails-doc/.../gradleDependencies.adoc) is updated to:

  - Clarify that property overrides are a feature of the bom-property-overrides 
plugin (not native Gradle), with a link to gradle/gradle#9160

  - Note Gradle's highest-version-wins conflict resolution and the difference 
vs the legacy Spring Dependency Management plugin (which forced BOM versions 
unconditionally)

  - Document the new plugin's standalone usage for non-Grails projects with the 
bomPropertyOverrides extension API

Tests:

  - BomManagedVersionsSpec moved to the new module (4 tests, all passing)

  - New BomPropertyOverridesPluginSpec (7 ProjectBuilder tests covering plugin 
application, extension defaults, DSL methods, and detectDeclaredBoms)

  - New BomPropertyOverridesPluginFunctionalSpec (TestKit end-to-end test 
verifying standalone plugin application)

  - BomPlatformFunctionalSpec updated to also verify the bom-property-overrides 
plugin is applied

All 13 plugin tests + 12 bom-property-overrides tests pass; codeStyle clean on 
both modules.

Assisted-by: claude-code:claude-opus-4-7

Report URL: https://github.com/apache/grails-core/actions/runs/25132808790

With regards,
GitHub Actions via GitBox

Reply via email to