Gradle Tasks for code static code analysis on android apps.
Credits to : https://github.com/artem-zinnatullin/qualitymatters
- Download all files on this GIST.
- Put the XML files on your root directory under
- Put the
code_quality_tools.gradlefile into your root project directory.
- On each module you want to check add to the build.gradle the next line :
apply from: '../code_quality_tools.gradle'
- Run "gradlew check"