Gradle View

Compatible with: IntelliJ IDEA Android Studio
Nov 22, 2017
45 045

What is this?

Show a split tree rollup of the dependencies for each Gradle configuration in use by a project.

Why would I need this?

Dependency wrangling isn't easy in a large Java project. This IntelliJ IDEA plugin was built to add a little more sanity to the tedious task of analyzing dependencies by rolling up the entire dependency graph into a pair of more easily digestible trees derived from a serialized version of Gradle's dependency graph. The Dependency List provides a lexicographically sorted set of all the dependencies for each configuration in your project and all of its sub-projects. The Dependency Hierarchy shows a nested view of each Gradle configuration in your project and all of its sub-projects. Grey dependencies in the tree indicate it was included by a previous dependency that was added before (and can be safely omitted if it is explicitly being included).

Features

  • Built on the Gradle Tooling API 3.5.1, but should work on most 1.x, 2.x, 3.x, and 4.x versions
  • Visual highlighting to indicate dependencies in use and replacement versions
  • Lexicographically sorted listing for all Gradle configurations
  • Load any project's Gradle dependencies, not just the one currently open inside IntelliJ
  • Toggle the showing of replaced dependencies

Download plugin

Recent change notes

3.0.0 - 2017-11-21

  • Upgrade internal tooling API to use Gradle 3.5.1
  • Add dependency resolution compatibility fixes to support Gradle 2.x, 3.x, and 4.x
  • Java bytecode compatibility bumped up to 1.7 to support later versions of Gradle Tooling API