I hereby agree to the terms of the Gradle CPD plugin Contributor License Agreement.
This fixes #71 by updating the PMD dependency to 7.2.0 and adapting the code to make use of the new API. Due to these API changes, PMD older than 7.0.0 is not supported, anymore.
Notable changes:
if no duplicate can be found, the XML report contains some additional information but it does not contain any <duplication> block (previosly it was just <pmd-cpd/>)
the language needs to be specified explicitly (default is "java)", as the "any" fallback does not work, anymore
I hereby agree to the terms of the Gradle CPD plugin Contributor License Agreement.
This fixes #71 by updating the PMD dependency to 7.2.0 and adapting the code to make use of the new API. Due to these API changes, PMD older than 7.0.0 is not supported, anymore.
Notable changes:
<duplication>
block (previosly it was just<pmd-cpd/>
)