Skip to content

A simple web UI to analyze dependencies for your project based on the text data generated from "gradle dependencies" command.

License

Notifications You must be signed in to change notification settings

schlopa/gradle-dependencies-viewer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gradle dependencies viewer (tool)

A simple web UI to analyze dependencies for your project based on the text data generated from gradle dependencies command. Gradle dependencies viewer (tool) screenshot

Build Status - Master Linux Windows Apache 2

Purpose

Since there is still no good support for Gradle dependencies view in IntelliJ IDEA (at least not good as for Maven is) and it's really difficult to browse (especially for larger projects with tens of listed dependencies) we decided to create this very simple tool. This tool helps us to solve such common dependency-hell problem like "Where this dependency/artifact came from?" or "Which dependencies are coming with this artifact?".

Using dependencies viewer

  1. Run command gradle dependencies > dep.txt inside of your project directory.`
  2. Drag&Drop dep.txt file into input area. File will be automatically uploaded and parsed. Alternativaly you can copy&paste the output of gradle dependencies command into the input area.
  3. Browse dependencies tree in the left panel and/or use search input box to find artifact you need to explore
  4. If you want to generate gradle code to exclude some artifact, press right mouse button to view context menu and select Exclude artifact.

Working demo

You can try to use it here (it's located on Heroku, sometimes it requires more time to load, please be patient)

Launching app locally

Requirements:

  • JDK 1.8

Running from the latest release

  1. Download current release
  2. Extract zip file and use /bin/gradle-dependencies-viewer.bat (Win) or /bin/gradle-dependencies-viewer (Linux)

OR

Running from sources

  1. Build binaries gradle build or gradlew.bat build or
  2. Extract build/distributions/gradle-dependencies-viewer-x.x.x.zip (or .tar on Linux)
  3. Run script /bin/gradle-dependencies-viewer.bat (Win) or /bin/gradle-dependencies-viewer (Linux)
  4. OR Run single fat jar java -jar gradle-dependencies-viewer-1.0.0.jar --server.port=8090
  • File gradle-dependencies-viewer-x.x.x.jar is located in build/libs.
  1. Open http://localhost:8090/ in your web browser.
  • Default port value has been set to 8090.

Project programming info

The project is using Gradle 3.x to build. The project is based on Spring Boot using Thymeleaf template engine.

License

Apache 2 License.

Contact

Author&Maintainer: Ladislav Vitasek aka Vity - vitasek/@/avast.com

About

A simple web UI to analyze dependencies for your project based on the text data generated from "gradle dependencies" command.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 60.6%
  • Java 23.0%
  • HTML 13.7%
  • CSS 2.7%