netbeans-gradle-project
netbeans-gradle-project copied to clipboard
Maven like Dependency Graph
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.
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).
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).
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.