slices

Access the slice declarative assertion rule builder. Groups packages into slices by a capture-group pattern and asserts relationships between them, such as cycle-freedom.


fun Konture.slices(sourceSets: SourceSetSelector, block: SlicesRuleBuilder.() -> Unit)

Filter or assertion criteria for slices.


Define and run slice rules inside a block-based DSL context. Automatically checks the rules at the end of the block.