Closed mysticdrew closed 1 year ago
Could you try something like rootProject.cpdCheck
. The CPD plugin is only applied to the rootProject
such that it looks like that Gradle does not find the cpdCheck
task any more. I guess this is due to a change of the internal behavior of task resolution coming with version 7 - but I might to check the release notes 🙊.
Edit: Maybe you need to find the task using the rootProject.tasks
TaskContainer
, see https://docs.gradle.org/current/dsl/org.gradle.api.tasks.TaskContainer.html.
Closing due to no further information. Don't hesitate to reopen, though...
I am in the process of updating our gradle from 3.5.1 to 7.5.1. I have run into this issue on our multimodule projects. Works fine on our single module projects.
Snipit from build.gradle
java-library.gradle
error