netbeans-gradle-project icon indicating copy to clipboard operation
netbeans-gradle-project copied to clipboard

Maven like Dependency Graph

Open mam0nth opened this issue 11 years ago • 3 comments

Obviously this is a feature request. It is nice to have this "Dependency Graph" in the Gradle plugin same in Maven plugin.

Actually, I don't know and I haven't check the nb-maven source for this. All I know it will use this NetBeans Visual Library.

mam0nth avatar Oct 01 '13 11:10 mam0nth

I don't know what the Maven plugin uses for this but if this feature is added then it should arrange the nodes better as done in the Maven plugin. I mean, in the Maven plugin, the arrangement is mess.

Anyway, this is not exactly supported by the Tooling API. Using the new API, there is a chance but I don't yet see how to access the graph of dependencies (as displayed by the "gradle dependencies" command).

kelemen avatar Oct 01 '13 18:10 kelemen

I was about to request the same feature.

However, I also want to request the dependency graph of the tasks, with different arcs between the nodes for the different dependency relations (dependsOn, mustRunAfter, finalizedBy).

green-coder avatar Oct 03 '13 08:10 green-coder

Retrieving the task graph is possible since Gradle 1.8 (I have tried it). However, it is not free (the performance cost is considerable), so retrieving the task graph should be an on-demand feature (not eagerly requested) which means retrieving the task graph will take somewhat more time than reloading a project.

Anyway, feel free to open another issue for the task graph.

kelemen avatar Oct 03 '13 08:10 kelemen