I have a complicated gradle build system that I inherited. It works pretty well, but includes multiple plugins (java, groovy, antlr, jacoco, jetty, etc.). I could not figure out how to accomplish something, so I did a './gradlew tasks --all'. It turns out that there was a 'generate' task that did it (it re-generated the antlr-based code). Great, but it took a long time, and I had no idea.
Where did that generate task come from? What gradle command can I use to figure out where that task came from? There was a custom antlr tasks that has a 'dependsOn 'generate', so I would think that it is coming from the antlr plugin, but it's hard to tell.