files

Access the file-level declarative assertion rule builder. Allows filtering and assertion of source files and their imports, package, or wildcard usages.


fun Konture.files(sourceSets: SourceSetSelector, block: FilesRuleBuilder.() -> Unit)

Filter or assertion criteria for files.


Define and run source file dependency/structural rules inside a block-based DSL context. Automatically checks the rules at the end of the block.