Gradle plugin that generates module dependency reports
Visual implementation of Module dependencies
- Copy
projectDependencyGraph.gradle
file to the root directory of the project - Add plugin to
build.gradle
in your app
apply from: "${project.rootProject.file('projectDependencyGraph.gradle')}"
- run
./gradlew projectDependencyGraph
- Project module dependency graph created at
build/reports/dependency-graph/project.dot
- prview with markdown:
Copy the contents of project.dot
to the online tool preview https://mermaid-js.github.io/mermaid-live-editor/
- prview with graphviz:
Using graphviz to generate local beautiful diagram, if not installed the local environment, Copy the contents of project_digraph.dot
to the online tool preview
http://dreampuf.github.io/GraphvizOnline/