Gradle cache not clearing

I have completely rewored a project I am developing. In the initial version, I was applying plugins from my collections of plugins. There were all sorts of thorny dependency issues (caused by suboptimal design on my part, I must admit), and I decided that the best thing to do would be to unhook entirely from my plugin collection.and copy the needed bits of logic to my one-off project. The project now depends on nothing but gradle itself.

However, something is not clearing. When I run gradle tasks I continue to see a listing for a task that no longer exists in the project. I have grepped for the name of this task throughout the project and got no hits. I have run with --refresh-dependencies to no avail. My next step will be to delete all the caches, but I shouldn’t have to do this.

Any other ideas I could try?

Never mind, it was a git issue.