Checkstyle is flexible and powerful static analysis tool.
However it lacks automatic fixing capabilities, and manual fixing of errors has been a blocker for wider adoption.
https://github.com/Jasig/uPortal/pull/819 showed that the Google Java Format tool has the capability to automatically apply stylistic changes to code.
Rather than requiring developers to manually format code, I purpose using the Google Java Format gradle plugin.
For developers this makes code styling as simple as `./gradlew googleJavaFormat`.
And verification on CI would use `./gradlew check` which will run `./gradlew verifyGoogleJavaFormat` to ensure the developer has applied code styling to their commits.