mmalohlava / gradle-visteg

Exports task execution graph as .dot file
Apache License 2.0
131 stars 24 forks source link

Enhancement: multiple DOT reports #23

Open aeiplatform opened 4 years ago

aeiplatform commented 4 years ago

Since yours plugin is one of my favorites, because it's much easier to orient in huge projects. But it would be nice to have more reports like in $buildDir/visteg/... Surely there is a lot of potential of extending this to more Gradle projects.

I was thinking about current output with some simplifications if project is defined as: Root -> N sub-projects In its current state, the plugin always visualizes the same tasks for each sub-project, even if they exist the same as the root module. It would be nice to get detailed information of root module task dependencies and for sub-projects get only 1 edge from the first occurrence to just module abstraction only if all modules has the same sub-graph, but that might need another shape or visual effect. Even the project of 8 modules gets into a state that is unable to read the chart in normal screen size because it is quite complicated view.

Example: Java project

:jar -> :compileJava +.... :jar -> :module :jar -> :module

Instead of:

:jar -> :compileJava + ... :jar -> :module:jar + :module:compileJava + .... :jar -> :module:jar + :module:compileJava + ...

Or another options:

It's just about a suggestion when you'll be bored or feel free to close that.