为您的Android项目轻松设置CheckStyle,FindBugs,PMD和Lint

为您的Android项目轻松设置CheckStyle,FindBugs,PMD和Lint

Android 其它杂项

访问GitHub主页

共28Star

详细介绍

android-quality-starter

setup CheckStyle, FindBugs, PMD and Lint for your Android project easily

This project adds gradle setup for quality tools mentioned above to Android project via shell script. After adding this, we can easily increase quality of the project by static code analysis.

Usage

Go to main directory of your Android project and run:

curl https://raw.githubusercontent.com/pwittchen/android-quality-starter/master/install.sh | sh

Then wait for a while and follow short instruction in the end for quick manual setup.

Remember to add line:

apply from: '../config/quality.gradle'

to build.gradle file of the module you want to check.

Then you can execute the following command in the main directory of the project:

./gradlew check

Exemplary Android project using this configuration

References

推荐源码