[core] add IDE agnostic configuration thus run `spotlessApply` on dev environment
Automating Code Formatting with Spotless in Gradle
By binding the spotlessApply goal to local execution, we can automatically fix formatting issues during a single Gradle build when triggered for every push. This approach offers two key benefits:
- Time savings: Eliminates back-and-forth CI/CD cycles for formatting fixes
- Resource efficiency: Reduces cloud compute usage
This pattern is already well-established in major projects:
- Maven implements auto-fixing (though not in cloud environments):
- Quarkus follows similar practices
- PMD is implementing this approach: PMD Issue #5651
Current Limitations and Proof of Concept
While the concept is proven in Maven environments, Gradle/Spotless integration currently requires additional configuration:
- Builds don't auto-fix out of the box like Maven/Quarkus
- Related issues and PoC:
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
google seems dead.
Agreement Name Date Signed Manage Google Individual CLA vincent potucek Jun 27, 2025 05:50 PDT Edit Contact Information