Skip to content

Commit 5ece967

Browse files
committed
Add basic configuration and image into readme
1 parent 359de7e commit 5ece967

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,15 @@
22
Gradle plugin to keep your modules graph healthy and lean.
33

44
[![CircleCI](https://circleci.com/gh/jraska/modules-graph-assert.svg?style=svg)](https://circleci.com/gh/jraska/modules-graph-assert)
5+
6+
## Assert your modules graph
7+
<img width="1281" alt="example_graph" src="https://user-images.githubusercontent.com/6277721/70832705-18980e00-1df6-11ea-8b78-fc07ba570a2b.png">
8+
9+
## Configuration
10+
```groovy
11+
moduleGraphAssert {
12+
maxHeight = 4
13+
moduleLayersFromTheTop = [":feature", ":lib", ":core"]
14+
restrinctInLayerDependencies = [":feature", ":lib"]
15+
}
16+
```

0 commit comments

Comments
 (0)