https://github.com/sethrylan/rosette.git
Gradle plugin for running tasks PMD, CPD, Findbugs, Checkstyle with android project
findbugs, pmd, cpd, checkstyle
Add the plugin to your buildscript
's dependencies
section:
classpath 'com.github.nrudenko:gradle-android-cq-plugin:0.1+'
Apply the android-cq
plugin:
apply plugin: 'android-cq'
Run:
./gradlew clean findbugs pmd cpd checkstyle
results will be placed in build/reports dir
For configs tasks use folder cq-config
which will be created in project root dir after first tasks runing.
In cq-config
will be placed main configs(like ruleset, exclude etc.) and xsl files.
For customizing tasks just replace appropriate config in task's folder.