Looks like there is a gradle task `goJF` that could do such thing. Ref: https://stackoverflow.com/questions/61033598/how-can-i-configure-gradle-google-java-format-plugin-to-run-gojf-in-the-build-st