Closed tijanssen closed 1 year ago
@tijanssen the org.kordamp.gradle.pmd
plugin is applied recursively to all plugins and becomes active by default if the given configuration is found at the right location, in other words, you don't have to use the DSL to activated it, this is why you're seeing it run.
It may be the case that a recent version of PMD no longer supports the rulePriority
field, I'll have to check of this is true.
I used the dsl to set the ToolVersion to the newest version available explicitly.
I tried it without setting the toolversion. In this case I get still the same error. I get the error even if I set enabled = false. I have to remove the org.kordamp.gradle.pmd plugin completely before i can continue to build my projects. So I can't currently use the kordamp pmd plugin.
Could you give more details on your current setup, such as Gradle version, Java version, et al. The output of gradlew --version
should be enough
gradle 7.2 java 16
I get the following error:
A problem occurred configuring project ':tresty-collections'.
I have added the org.kordamp.gradle.pmd plugin and have the pmd.xml in the config/pmd/ directory. I have no congig qulity pmd block in the build.gradle.kts file. I was just trying to add the plugin without configuring it for my needs. DId I do something wrong?