Monits / static-code-analysis-plugin

A plugin to simplify Static Code Analysis on Gradle. Not restricted to, but specially useful, in Android projects, by making sure all analysis can access the SDK classes.
Apache License 2.0
39 stars 12 forks source link

Allow separate rulesets for tests #3

Closed jsotuyod closed 8 years ago

jsotuyod commented 8 years ago

Analyzing testss can be usefull (specially since there are specific rules for testing), but more often than not, one is not as strict with our coding standard on tests as on main code (think of confusing ternary, empty catch, etc.).

Having the ability to optionaly define a separate ruleset for Checkstyle, PMD and Findbugs for test resources would be most useful.

The default should still be to use the same everywhere for backwards compatibility.

jsotuyod commented 8 years ago

Implemented in 2.0.0