Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note: Selecting “Check Project” may report some errors from the archetype modules as they are not configured for Checkstyle validation.

Code Style

...

Uniform formatting for Java and Groovy code is automated by the build through the Spotless Gradle plugin. Instead of relying on the IDE, now you can run ./gradlew spotlessApply to reformat changes prior to commit.

IntelliJ supports code styles within the IDE. Use one or both of the following to ensure your code style matches the project’s checkstyle enforcements.

...

If you want to autoformat in the same way while you are developing, use the Google Java Format plugin.