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

Deprecation: project.getConvention()

Open C-Otto opened this issue 1 year ago • 2 comments

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 further information: https://docs.gradle.org/8.2.1/userguide/upgrading_version_8.html#deprecated_access_to_conventions
        at org.gradle.api.internal.project.DefaultProject.getConvention(DefaultProject.java:593)
        at de.aaschmid.gradle.plugins.cpd.CpdPlugin.lambda$null$8(CpdPlugin.java:141)

C-Otto avatar Aug 02 '23 08:08 C-Otto

Came to report the same issue. Just in case, here is Gradle docs link with deprecation details: https://docs.gradle.org/8.2.1/userguide/upgrading_version_8.html#deprecated_access_to_conventions

danilovesky avatar Aug 07 '23 08:08 danilovesky

Thanks for reporting. I would appreciate a PR as I don't know when I will have time to concentrated work on this the next weeks.

aaschmid avatar Aug 07 '23 10:08 aaschmid