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).
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.
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.