Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spotless Integration with Google Java Format #250

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

apancorb
Copy link
Contributor

Summary

In this demo PR, the idea is to use Spotless for gradle using the google-java-format.

Essentially, as part of the build process, it will add an extra step to check if the code is properly formatted using the Google Code Style Guide. If not properly formatted, it will indicate to apply the formatting by running ./gradlew :spotlessApply. This could also be configured as a pre-commit hook which does it automatically.

Copy link

sonarcloud bot commented Apr 26, 2024

@apancorb apancorb self-assigned this Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant