api / org.gradle.api.plugins.quality / Pmd / setRuleSetFiles

setRuleSetFiles

open fun setRuleSetFiles(ruleSetFiles: FileCollection): Unit

The custom rule set files to be used. See the official documentation for how to author a rule set file. Example: ruleSetFiles = files("config/pmd/myRuleSets.xml")