Skip to content

Commit 0314d5f

Browse files
committed
Apply micronaut-platform BOM to forge documentation configuration
Fixes the `Build Grails Forge` CI jobs that 0143553 broke. The `documentation` configuration is registered by the buildsrc.groovydoc plugin and is independent of compileClasspath / testRuntimeClasspath, so the micronaut-platform BOM applied in each forge module's main `dependencies { }` block does not reach it. After 0143553 dropped the explicit `:$groovyVersion` from the documentation entries, the groovy-* artifacts had no version source and groovydoc failed with `Could not find org.apache.groovy:groovy-templates:.` Apply the same BOM to the documentation configuration here so the unversioned coordinates resolve through groovy-bom, matching the approach used in the other forge configurations. Verified: `./gradlew :grails-forge-cli:groovydoc :grails-forge-api:groovydoc :grails-forge-core:groovydoc` succeeds. Assisted-by: claude-code:claude-opus-4-7
1 parent 735ce32 commit 0314d5f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

grails-forge/gradle/doc-config.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ groovydocEnhancer {
2424
}
2525

2626
dependencies {
27+
// The `documentation` configuration is registered by the buildsrc.groovydoc
28+
// plugin and is independent of compileClasspath/testRuntimeClasspath, so the
29+
// micronaut-platform BOM we apply elsewhere does not reach it. Apply it here so
30+
// the unversioned groovy-* artifacts below resolve through groovy-bom.
31+
documentation platform("io.micronaut.platform:micronaut-platform:$micronautVersion")
2732
documentation 'org.apache.groovy:groovy-templates'
2833
documentation 'org.apache.groovy:groovy-dateutil'
2934
documentation 'org.apache.groovy:groovy-ant'

0 commit comments

Comments
 (0)