Skip to content
The Gradle View IntelliJ IDEA plugin shows a split tree rollup of the dependencies for each Gradle configuration in use by a project.
Java Groovy
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
META-INF Update plugin.xml to keep it in sync with README.md Nov 22, 2017
gradle-acumen-api Bump up version for gradle-acumen plugin to match internally to 0.3.0 Nov 22, 2017
gradle-acumen Add dependency resolution compatibility fixes to support Gradle 2.x, … Nov 22, 2017
gradle/wrapper
intellij update Gradle Wrapper to 1.12, update build version Jul 28, 2014
src/main Bump up version for gradle-acumen plugin to match internally to 0.3.0 Nov 22, 2017
.gitignore
HISTORY.md
LICENSE adding full LICENSE text Jan 14, 2013
NOTICE adding full LICENSE text Jan 14, 2013
README.md Fix busted markdown, minor updates for current versions of everything Nov 22, 2017
build.gradle Set source and target JVM compatibility to 1.7 for later versions of … Nov 22, 2017
gradle.properties Add gradle.properties to be explicit about what target versions are i… Nov 22, 2017
gradlew update Gradle wrapper to 1.4 Feb 3, 2013
gradlew.bat Bump up Gradle wrapper to 3.5.1 in preparation to match Gradle Toolin… Nov 22, 2017
settings.gradle patch up the build to extract the gradle-acumen plugin on the fly, ex… Aug 6, 2014

README.md

What is this?

The Gradle View IntelliJ IDEA plugin shows a split tree rollup of the dependencies for each Gradle configuration in use by a project. 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).

Gradle View

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

Installation

The latest version of the Gradle View plugin is available on the JetBrains Plugin Repository. The first time you interact with Gradle View, you may need to download the embedded version of Gradle 3.5.1 in case you don't already have a cached copy available on your workstation. This should be seamless, and the tool window title and log will indicate a download of this is in progress. You may also build and install the plugin from source (see below).

Building from source

The Gradle View plugin uses a Gradle-based build system. In the instructions below, ./gradlew is invoked from the root of the source tree and serves as a cross-platform, self-contained bootstrap mechanism for the build. The prerequisites are Git and JDK 1.7+ for using the Gradle Wrapper bootstrap. You'll also need the IntelliJ IDEA SDK installed in your IntelliJ environment. See Configuring IntelliJ IDEA SDK for details.

check out sources

git clone git://github.com/rholder/gradle-view.git

add Gradle build variables

Create a custom gradle.properties file in the root directory and add a tooling version to use, as in:

gradleToolingApiVersion=3.5.1
ideaPluginJdkName=IDEA IU-135.690

The ideaPluginJdkName should be the version you have referenced in your IntelliJ IDE.

compile, test and build plugin distribution zip

./gradlew clean distPlugin

License

The Gradle View plugin is released under version 2.0 of the Apache License. See LICENSE file for more details.

You can’t perform that action at this time.