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

Adds Spotless configuration for Java #2485

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

haydenbaker
Copy link
Contributor

Background

  • Adds spotless configuration for java
    • Spotless will automatically format code after build
  • Removes checkstyle
  • Formats all files in the repository
  • Adds a property, noFormat, to skip autoformatting
    • CI will not auto-format, but will still check and fail if code is not formatted

Testing

  • ./gradlew clean build
  • Build times before and after this change are the same, spotless will only run on changed files

Links

  • Links to additional context, if necessary
  • Issue #, if applicable (see here for a list of keywords to use for linking issues)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@haydenbaker haydenbaker requested a review from a team as a code owner December 10, 2024 22:46
@haydenbaker haydenbaker force-pushed the haydenbaker/configure-spotless branch from 6aaa863 to 1eb7e18 Compare December 16, 2024 17:23
@haydenbaker haydenbaker force-pushed the haydenbaker/configure-spotless branch from b56136f to 1ccf1f6 Compare December 17, 2024 18:41
@haydenbaker haydenbaker force-pushed the haydenbaker/configure-spotless branch from f31de64 to 733426a Compare December 18, 2024 16:10
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.

4 participants