borinquenkid commented on PR #15686:
URL: https://github.com/apache/grails-core/pull/15686#issuecomment-4585316454
1. JDK 25 Compatibility Fix:
• Removed google-java-format from the grails-forge Spotless
configuration, resolving runtime compilation crashes ( NoSuchMethodError )
caused by internal compiler API changes in JDK 25.
2. Unified Styling & Layout Conventions:
• Modified Spotless configurations in grails-forge (
gradle/code-style-config.gradle ) to use custom conventions ( importOrder +
removeUnusedImports ) to mirror Checkstyle's layout
requirements.
• Restricted Spotless scans strictly to production Java source files
to prevent conflict with tasks generating resources (e.g. copyGrailsWrapper ).
3. Enhanced Checkstyle Rules:
• Configured Checkstyle in the grails-forge project to run layout
validation on all production Java source files.
• Cleared all formatting and import violations across the
grails-forge-core , grails-forge-api , and grails-forge-cli modules.
4. Build Cleanup:
• Removed obsolete formatting task declarations from the build
configurations.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]