Unhelpful circular task dependency error message

OK, so something I’ve done has led to a circular dependency among the tasks of my plugins.

The error message I get from Gradle is not helpful in the least:

FAILURE: Build failed with an exception.

* What went wrong:
Circular dependency between the following tasks:
:content:rpm
\--- :content:rpm (*)

(*) - details omitted (listed previously)

But there is nothing listed previously. Even with --debug on, I don’t see anything in the log that shows me the problem or what gradle thinks was listed previously. I’d like gradle to tell me what the dependency graph is that has confused it so.

Are there any tools, special tasks, etc, that can help me get to the bottom of this?

Yeah, stupid groovy newbie error. Screwed up nested closures so that I actually said (in effect) rpm dependsOn rpm.

Now the error message makes perfect sense - except for the (*) - details omitted (listed previously) which led me to think I was missing some crucial information, when in fact all the info I needed to see was right there.

:scream: