KontureContext

class KontureContext(projectGraph: ProjectGraph)

DSL Context wrapper that allows defining and verifying multiple independent rule suites.

This context lets you specify module, class, function, property, and file assertions together, and verify all of them in a single batch operation via Konture.architecture. All declared suites are executed even when earlier suites fail; violations are aggregated.

Constructors

Link copied to clipboard
constructor(projectGraph: ProjectGraph)

Functions

Link copied to clipboard
fun classes(block: ClassesRuleBuilder.() -> Unit)

Declares a suite of class structure/dependency rules inside this architecture validation context.

Link copied to clipboard
fun files(block: FilesRuleBuilder.() -> Unit)

Declares a suite of file structure/dependency rules inside this architecture validation context.

Link copied to clipboard

Declares a suite of function structure/dependency rules inside this architecture validation context.

Link copied to clipboard

Declares a nested, type-safe layered-architecture specification inside this architecture validation context.

Link copied to clipboard

Declares a suite of layered-architecture rules inside this architecture validation context.

Link copied to clipboard
fun modules(block: ModulesRuleBuilder.() -> Unit)

Declares a suite of module structure/dependency rules inside this architecture validation context.

Link copied to clipboard

Declares a suite of property structure/dependency rules inside this architecture validation context.