Is it possible to somehow specify pmd ruleset file stored inside jar file. I have common gradle project configuration implemented as gradle plugin and deployed into maven repo. Everything seems to be fine, but I can’t put custom ruleset into plugin’s jar and refer to it in extensions.pmd.ruleSetFiles. If it’s not possible with current implementation, it would be nice to have such feature in future releases
In general, I’d recommend to put the ruleset files under source control. If you want to ship them as a Jar, you can write a task that unpacks them before feeding them to the PMD plugin. With Gradle’s efficient archive handling and automatic up-to-date checks, such a task should be almost unnoticeable for users.