diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1d12e3377..0ed056162 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -17,7 +17,10 @@ Building AndroidIDE in AndroidIDE itself is also possible. But that might requir If you face `AAPT2` issue while building AndroidIDE in the IDE itself, specify the `android.aapt2FromMavenOverride` property in `gradle.properties` with location of `aapt2` binary from Android SDK. However, this is an **experimental** property. ## Source code format -The source code must have `4-space` indentation (soft tab). Java source code is formatted using `google-java-format` with `AOSP` style formatting. You can execute `./gradlew goJF` in terminal to format all Java source files using Google Java Format. +The source code must have `4-space` indentation (soft tab). +Java source code is formatted using `google-java-format` with `AOSP` style formatting. +You can execute `./gradlew format` in terminal to format all Java source files using Google Java Format. +**This will commit the changes as well**. ## Issues & Pull requests Use the issue/PR templates when possible. Provide a proper title and a clear description for the issue/PR. For bug reports, provide a step-by-step procedure to reproduce the issue. Always put crash logs, build outputs, etc in `code blocks`.