• Stars
    star
    179
  • Rank 212,767 (Top 5 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created over 11 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The Gradle View IntelliJ IDEA plugin shows a split tree rollup of the dependencies for each Gradle configuration in use by a project.

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 5.6.2, but should work on other recent 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 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.

The IntelliJ plugin zip and a standalone jar release are available here. The standalone jar can be run without IntelliJ. You may also build and install the plugin from source (see below).

Building from source

This repository has everything needed to set up the development environment to build this plugin from source.

The Gradle View plugin itself 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.8+ for using the Gradle Wrapper bootstrap.

More information about the IntelliJ IDEA plugin development process can be found here, but the following are some bare bones testing and development instructions:

Check out sources

Check out this repository locally with:

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

Adjust Gradle build variables

Review the contents of the gradle.properties file in the root directory and update them if desired.

Compile and build plugin distribution zip

Run the following to create an installable plugin zip in build/distributions/gradle-view-*.zip:

./gradlew clean distPlugin

Install the plugin from disk with Settings/Preferences -> Plugins -> (Gear Icon) -> Install Plugin from Disk.

Compile and build a standalone jar

A standalone Swing version that doesn't depend on IntelliJ can be built with:

./gradlew clean distStandalone

This jar can then be run with:

java -jar build/distributions/gradle-view-standalone.jar

NOTE: This is not the same as the IntelliJ platform plugin zip. It cannot be installed in the IDE.

License

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

More Repositories

1

retrying

Retrying is an Apache 2.0 licensed general-purpose retrying library, written in Python, to simplify the task of adding retry behavior to just about anything.
Python
1,910
star
2

guava-retrying

This is a small extension to Google's Guava library to allow for the creation of configurable retrying strategies for an arbitrary function call, such as something that talks to a remote service with flaky uptime.
Java
1,427
star
3

gradle-one-jar

The gradle-one-jar project is a Gradle plugin that uses One-JAR, a specialised Class-Loader written by Simon Tuffs (http://one-jar.sourceforge.net/), for building self-contained executable jars that include all dependencies.
Groovy
218
star
4

csv2es

Load a CSV (or TSV) file into an Elasticsearch instance
Python
62
star
5

fauxflake

Fauxflake is an easily embeddable, decentralized, k-ordered unique ID generator.
Java
41
star
6

snowball-stemmer

This is a repackaging of a version of the snowball-stemmer found at http://snowball.tartarus.org/ so that it's available on Maven Central.
Java
19
star
7

nilsimsa

This module contains an implementation of the Nilsimsa locality-sensitive hashing algorithm in Java.
Java
18
star
8

debinate

Roll up your projects into little standalone Debian packages.
Shell
14
star
9

gradle-autojar

The gradle-autojar project is a Gradle plugin that uses Autojar, a specialized jar archive minimizer written by Bernd Eggink (http://autojar.sourceforge.net/), for building self-contained executable jars that include only those dependencies that are actually used.
Groovy
14
star
10

esthree

An S3 client that just works
Java
8
star
11

i3status-title-on-bar

Inject the active window title into the output of i3status.
Go
8
star
12

sshuttle-binary

This is a single-binary package of sshuttle.
Python
7
star
13

jvm-loop-unswitching-bug

Cause the JVM to produce a segmentation fault from org.apache.http.impl.cookie.BestMatchSpec.formatCookies
Java
7
star
14

dynq

Dynq is a DynamoDB client intended to make querying and sourcing environment variables from the commandline very easy.
Python
6
star
15

jfpm

Run fpm (which lets you build RPM's, DEB's, etc.) from a single standalone binary using the JVM.
Shell
6
star
16

grepby

Output counts of matching regular expressions like a group by for grep.
Go
5
star
17

gradle-wrapper-here

Drop a Gradle wrapper in the current directory.
Shell
4
star
18

moar-concurrent

This module contains a collection of useful builders and concurrency classes to assist in modeling complex or overly tweakable concurrent processing pipelines.
Java
4
star
19

oggtrackutil

This is a simple audio extraction utility written during a weekend to extract well-formed, single track WAV files from any compressed Ogg Vorbis audio file including those with more than 8 tracks.
C
3
star
20

ns4600

This is a small Python module to control the Promise SmartStor NS4600 NAS server.
Python
2
star
21

jfss

Run fss, which lets you provision cloud infrastructure Chef-style with only shell scripts, from a single standalone binary using the JVM.
Java
1
star
22

laptop-sleep-tool

Tinker with sleep mode settings on your laptop with this little tool.
Shell
1
star
23

python-debian-packaging

This is a collection of slides, etc. for my Python and Debian packaging talk.
JavaScript
1
star
24

windowtools

This is a collection of scripts for manipulating windows on various Linux desktop environments.
Shell
1
star
25

rholder.github.com

JavaScript
1
star
26

cram-maven-plugin

1
star
27

transaction-binding

This project extracts some of the transactional binding functionality from Alfresco 3.2's core libraries, and it aims to rely on very minimal external runtime dependencies.
Java
1
star
28

uci-security

UCI Security is a derivative of RBAC that slightly rearranges the components found in a traditional access control system. It includes the familiar idea of roles to the extent that they are used to control the access a particular user has within the system, but also introduces a new way of thinking about how their relationship to a particular situation is relevant.
1
star