gradle-cpd-plugin icon indicating copy to clipboard operation
gradle-cpd-plugin copied to clipboard

Gradle plugin to find duplicate code using PMDs copy/paste detection (= CPD).

Results 7 gradle-cpd-plugin issues
Sort by recently updated
recently updated
newest added

* What went wrong: Some problems were found with the configuration of task ':app:testCodeCpdCheck' (type 'Cpd'). > No value has been specified for property 'reports.csv.outputLocation'. > No value has been...

When building a single subproject `./gradlew aaa:build` I get the following warning for each subproject, aside from the one I'm building. I expect to only receive warnings related to subproject...

bug
help wanted

I configured CPD for my multi-project Gradle 6.5.1 project. Some of these sub-projects make use of the java-test-fixtures plugin, which allows me to put Java files into `src/testFixtures/java`. Despite limiting...

enhancement
accepted

It would be nice if cpdcheck would generate a html report like when running `./gradlew.bat test` and put it in `$buildDir/reports/cpd`: ![image](https://github.com/aaschmid/gradle-cpd-plugin/assets/7903917/8bfd009a-9693-4005-be42-a4fe165a12c5)

With Gradle 8.2.1 and `--warning-mode all --stacktrace` I get: ``` The Project.getConvention() method has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for...

enhancement
help wanted

I upgraded to PMD 7.0.0 and got an error while building: I am using gradle-cpd-plugin: 3.3. `./gradlew cpdCheck -stacktrace` Task :cpdCheck FAILED All completed @ Mon Mar 25 05:35:03 EDT...

The newest version of CPD (from PMD 7.3.0) deprecated this option. It is read from in de.aaschmid.gradle.plugins.cpd.CpdExtension#skipLexicalErrors and written from the taskMapping in com.vector.cfg.build.cfgpmd.cpd.CfgCpdPlugin#setupTaskDefaults Could you please update this to...

enhancement
accepted