You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-3Lines changed: 17 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,9 @@
1
1
# Gradle 🐘 dependency graph visualisation plugin
2
-
[](https://github.com/adityabhaskar/Gradle-dependency-graphs/actions?query=workflow%3A%22Publish+Plugin+to+Portal%22)
[](https://github.com/adityabhaskar/Gradle-dependency-graphs/actions?query=workflow%3A%22Publish+Plugin+to+Portal%22)
A **Gradle Plugin** that generates dependency graphs showing the relationship between modules in your project.
8
9
@@ -12,17 +13,30 @@ The graphs are generated in the [`mermaid.js`](https://mermaid.js.org/syntax/flo
12
13
13
14
This plugin is a derivation of [Jake Wharton](https://github.com/JakeWharton/)'s project dependency graph script [available here](https://github.com/JakeWharton/SdkSearch/blob/master/gradle/projectDependencyGraph.gradle).
14
15
16
+
The plugin is available in the [Gradle plugins repository](https://plugins.gradle.org/plugin/io.github.adityabhaskar.dependencygraph).
17
+
15
18
## How to use
16
19
17
20
### Apply the plugin
18
21
19
22
**Apply the plugin** to your project's root `build.gradle.kts`
23
+
24
+
Kotlin:
20
25
```kotlin
21
26
plugins {
22
-
id("io.github.adityabhaskar.dependencygraph")
27
+
id("io.github.adityabhaskar.dependencygraph") version "0.1.0"
23
28
}
24
29
```
25
30
31
+
Groovy:
32
+
```groovy
33
+
plugins {
34
+
id "io.github.adityabhaskar.dependencygraph" version "0.1.0"
35
+
}
36
+
```
37
+
38
+
[See here](https://plugins.gradle.org/plugin/io.github.adityabhaskar.dependencygraph) for applying without the plugins DSL block.
39
+
26
40
### Using the plugin
27
41
28
42
The plugin adds a new Gradle task - `dependencyGraph`. Running the task will generate the dependency graphs for all modules in the project.
0 commit comments