Project reports plugin generates .dot files for task dependencies and artifact dependencies

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: