Android Code Styles and Quality Checks
October 10, 2016 ยท View on GitHub
Android Studio code style settings and code quality configs for Prolific's Android projects.
Installation for Code Styles
- Run the
install.shscript. - Restart Android Studio if it's running.
- Open Android Studio Project Settings -> Code Styles, change the code style for the project to the one you want.
Adding Code Quality Checks to Project
-
Copy the quality folder to your project folder.
-
In your
app/build.gradlefile add the following lines whereever you define plugins:apply from: '../quality/quality.gradle'apply from: '../quality/jacoco/jacoco.gradle'
-
Run the task using
./gradlew check
