setRuleSetFiles

open fun setRuleSetFiles(ruleSetFiles: FileCollection)(source)

The custom rule set files to be used. See the official documentation for how to author a rule set file. This adds to the default rule sets defined by getRuleSets.

    ruleSetFiles = files("config/pmd/myRuleSets.xml")