Download the formatter and run it with: To reformat changed lines in a specific patch, use google-java-format-diff.py. Note: There is no configurability as to the formatter's algorithm for formatting.
To use JSON you must add it as a dependency in your Gradle build: Step 1. Add the JitPack repository to your build file Add it in your root build.gradle at the end of repositories: You can create JSON ...