Checkstyle plugin: allow to configure suppressions file location


(Slava Semushin) #1

It would be useful to have an ability to specify suppressions file location inside checkstyle plugin configuration. Right now I can specify it inside checkstyle config file (with SuppressionFilter) but I prefer to set it in build.gradle (like I did in Maven with maven-checkstyle-plugin).


(Peter Niederwieser) #2

Is there an obvious advantage in specifying suppressions in the task? From what I can tell, the CheckStyle Ant task doesn’t support this either.


(Jason Chaffee) #3

The obvious advantage to this is that you can then download and use a common suppressions file more easily. Sometimes, these suppressions files need to be maintained in their own file because of complexity.