A simple web UI to analyze dependencies for your project based on the text data generated from gradle dependencies
command.
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?".
- Run command
gradle dependencies > dep.txt
inside of your project directory.` - 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.
- Browse dependencies tree in the left panel and/or use search input box to find artifact you need to explore
- If you want to generate gradle code to exclude some artifact, press right mouse button to view context menu and select Exclude artifact.
You can try to use it here (it's located on Heroku, sometimes it requires more time to load, please be patient)
- JDK 1.8
- Download current release
- Extract zip file and use
/bin/gradle-dependencies-viewer.bat
(Win) or/bin/gradle-dependencies-viewer
(Linux)
OR
- Build binaries
gradle build
orgradlew.bat build
or - Extract
build/distributions/gradle-dependencies-viewer-x.x.x.zip
(or .tar on Linux) - Run script
/bin/gradle-dependencies-viewer.bat
(Win) or/bin/gradle-dependencies-viewer
(Linux) - 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 inbuild/libs
.
- Open http://localhost:8090/ in your web browser.
- Default port value has been set to 8090.
The project is using Gradle 3.x to build. The project is based on Spring Boot using Thymeleaf template engine.
Apache 2 License.
Author&Maintainer: Ladislav Vitasek aka Vity - vitasek/@/avast.com