Visualizing gradle dependencies in Intellij

2.6k Views Asked by At

Is there a way to visualize project dependencies for a gradle project in Intellij? For a maven project, if you right click in the pom.xml you get a Show dependencies option but there I don't see such an option for a gradle project.

Does this feature exist for gradle project?

2

There are 2 best solutions below

1
On BEST ANSWER

I did a small search in IDEA and Google and looks like there is not way to see Gradle dependency but I have found the plugin "Gradle View" which does what you need

http://plugins.jetbrains.com/plugin/7150

You can open a ticket and maybe they will add a better Gradle support in IDEA 15

0
On

In intellij idea you can right click on your project name in "Gradle" window. If you don't see "Gradle" follow below screen.

enter image description here

In Gradle window select "Dependency Analyzer"

enter image description here

Then you can browse for your dependency or analyse it. Like in below example I looked for slf4j dependencies.

enter image description here