Change the project reports plugin to allow graphviz ‘.dot’ files to be generated for task dependencies and artifact dependencies. This will allow people to more easily visualize these dependency graphs.
Implementation ideas
One approach is to have the project reports plugin add 2 additional tasks, one which generates the dot file for task dependencies, and another for artifact dependencies. In theory, these would reuse dsl:org.gradle.api.tasks.diagnostics.TaskReportTask and dsl:org.gradle.api.tasks.diagnostics.DependencyReportTask, with different renderer implementations.
Extra credit
Here are some ideas for building on this:
- Generate png images from the dot files (see http://codewader.blogspot.com/2011/11/show-gradle-dependencies-as-graphwiz.html for some ideas) * Generate dot and png files showing project dependencies across the whole build. * Generate some html reports, embedding the generated images.