Fix #15163: remove grails-docs-core from docs build #15311
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR addresses an issue where the grails-core repository was attempting to use the published org.apache.grails:grails-docs-core dependency which was removed in PR #15163 . The grails-docs-core functionality still exists in the codebase as a local build-logic component but was incorrectly referenced as a published artifact.
Changes Made
grails-doc/build.gradle: Updated dependency from 'org.apache.grails:grails-docs-core' to project(':grails-docs-core')
buildSrc/build.gradle: Updated dependency from 'org.apache.grails:grails-docs-core' to project(':grails-docs-core')
Context
The grails-docs-core module provides documentation generation functionality including:
FetchTagsTask - For fetching Git tags
CreateReleaseDropDownTask - For creating release dropdowns in documentation
PublishGuideTask - For publishing guides
This functionality continues to work as expected but now uses the local project dependency instead of trying to download a non-existent published artifact.
Impact
Fixes build failures when trying to resolve the removed published dependency
Maintains all existing documentation generation functionality
Aligns with the project's architecture of keeping build logic in the build-logic module