Deprecation: project.getConvention()
C-Otto opened this issue · 2 comments
C-Otto commented
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)
danilovesky commented
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
aaschmid commented
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.