Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dependency graph in Gradle projects

Is there a way to get the equivalent of Maven Dependency Graph but for Gradle projects in IntelliJ IDEA Ultimate?

like image 511
kaqqao Avatar asked May 24 '16 14:05

kaqqao


People also ask

How do I show Gradle dependencies?

If you want to visualize your dependencies in a graph you can use gradle-dependency-graph-generator plugin.

How do you read a Gradle dependency tree?

In Gradle dependencies are libraries required to build your code. Each of these libraries may have their own dependencies, adding transitive dependencies to your project. This structure is called the Gradle dependency tree, with its own rules on dependency conflict resolution and more.

Where are the dependencies in Gradle?

Gradle declares dependencies on JAR files inside your project's module_name /libs/ directory (because Gradle reads paths relative to the build.gradle file). This declares a dependency on version 12.3 of the "app-magic" library, inside the "com.example.android" namespace group.


2 Answers

They released that feature on 2019.2.

To view Gradle dependencies as a diagram, click on the Show Dependencies icon on the Gradle tool window toolbar or use the shortcut Alt+Shift+Ctrl+U on Linux and Windows / Alt+Shift+Cmd+U on macOS.

https://blog.jetbrains.com/idea/2019/06/intellij-idea-2019-2-eap6-gradle-dependencies-diagram-and-more/

like image 84
Bruno Avatar answered Sep 22 '22 09:09

Bruno


May be very late to answer, but have you checked https://plugins.jetbrains.com/plugin/7150-gradle-view

like image 35
Manu Viswam Avatar answered Sep 22 '22 09:09

Manu Viswam