• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

rholder/gradle-view: The Gradle View IntelliJ IDEA plugin shows a split tree rol ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

rholder/gradle-view

开源软件地址(OpenSource Url):

https://github.com/rholder/gradle-view

开源编程语言(OpenSource Language):

Java 87.9%

开源软件介绍(OpenSource 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 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.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap