aaschmid / gradle-cpd-plugin

Gradle plugin to find duplicate code using PMDs copy/paste detection (= CPD).
Apache License 2.0
95 stars 12 forks source link

Replace deprecated properties: Report.enabled, Report.destination #59

Closed C-Otto closed 3 years ago

C-Otto commented 3 years ago

When I build with Gradle 7.1 RC1 (with warnings) I get this:

 > Task :xxx:cpdCheck
The Report.enabled property has been deprecated. This is scheduled to be removed in Gradle 8.0. Please use the required property instead. See https://docs.gradle.org/7.1-rc-1/dsl/org.gradle.api.reporting.Report.html#org.gradle.api.reporting.Report:enabled for more details.

> Task :xxx:cpdCheck
The Report.destination property has been deprecated. This is scheduled to be removed in Gradle 8.0. Please use the outputLocation property instead. See https://docs.gradle.org/7.1-rc-1/dsl/org.gradle.api.reporting.Report.html#org.gradle.api.reporting.Report:destination for more details.
aaschmid commented 3 years ago

Thanks for providing this issue. Version 3.3-SNAPSHOT on https://oss.sonatype.org/content/repositories/snapshots/ should fix it.

Disclaimer: haven't tested it myself besides the implemented test cases but can hopefully do this soon...

aaschmid commented 3 years ago

My tests are successful. Therefore merged into master