Giter Site home page Giter Site logo

khande / gradle-view Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rholder/gradle-view

0.0 1.0 0.0 10.82 MB

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

License: Apache License 2.0

Groovy 12.19% Java 87.81%

gradle-view's Introduction

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.

gradle-view's People

Contributors

rholder avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.