Skip to content

Commit

Permalink
Update README.md with KMP
Browse files Browse the repository at this point in the history
  • Loading branch information
jraska authored Oct 26, 2024
1 parent 7f5b653 commit 375a6ac
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ moduleGraphAssert {
}
```

#### Kotlin Multiplatform (KMP)
```groovy
configurations += setOf("commonMainImplementation", "commonMainApi") // different sourceSets defaults
```
- Please see [this issue](https://github.com/jraska/modules-graph-assert/issues/249#issuecomment-2437075587) for details and comment if you face issues.

### Module name alias
- You don't have to rely on module names and set a property `ext.moduleNameAssertAlias = "ThisWillBeAssertedOn"`
- This can be set on any module and the `allowed`/`restricted` rules would use the alias instead of module name for asserting.
Expand Down

0 comments on commit 375a6ac

Please sign in to comment.