RuleSetBuilder
DSL builder for configuring a reusable RuleSet.
Allows declaring module, class, function, property, file, slice, and layer rules, importing existing rule sets, and writing custom extension functions.
Properties
Functions
Imports and executes a RuleDefinition within this rule set.
Imports and executes another RuleSet within this rule set.
Imports and executes multiple RuleDefinition instances within this rule set.
Imports and executes multiple RuleSet instances within this rule set.
Imports and executes a collection of RuleSet instances within this rule set.
Alias for noCycles.
Declares a suite of class structure/dependency rules inside this rule set.
Declares a suite of class structure/dependency rules scoped to specific source sets.
Declares a suite of file structure/dependency rules inside this rule set.
Declares a suite of file structure/dependency rules scoped to specific source sets.
Declares a suite of function structure/dependency rules inside this rule set.
Declares a suite of function structure/dependency rules scoped to specific source sets.
Declares a first-class architectural layer with module/package selectors and explicit dependency boundaries inside this rule set.
Declares a nested, type-safe layered-architecture specification inside this rule set.
Declares a suite of layered-architecture rules inside this rule set.
Declares a suite of module structure/dependency rules inside this rule set.
Declares a suite of module structure/dependency rules scoped to specific source sets.
Declares a suite of property structure/dependency rules inside this rule set.
Declares a suite of property structure/dependency rules scoped to specific source sets.
Declares a named architecture rule with metadata and sub-rules inside this rule set.
Declares a suite of slice rules inside this rule set.
Declares a suite of slice rules scoped to specific source sets.
Declares a first-class source-set architecture policy using a custom SourceSetSelector.
Declares a first-class source-set architecture policy for source sets matching any of names.
Declares a first-class source-set architecture policy for source sets matching name.