Package-level declarations
The rule engine. ArchRule is the rule contract; RuleEngine (with fromConfig) reconstructs the active rule set from the serialized DSL strings at execution time. Built-in rules — NoCyclicDependenciesRule, LayerDependencyRule, NoFeatureToFeatureDependencyRule, MaxTransitiveDependenciesRule — carry stable kebab-case ids that are a public contract in SARIF, JUnit XML, and suppression config. LayerSpecParser is the one parser for serialized layers { } entries, shared by the rules and the report.
Types
Link copied to clipboard
Link copied to clipboard
interface ArchRule
A single architecture rule evaluated against a ModuleDependencyGraph.
Link copied to clipboard
object LayerSpecParser
The single parser for the serialized layers { } declarations that cross the configuration-cache boundary as plain task @Input strings.
Link copied to clipboard
data class RuleEngineResult(val violations: List<Violation>, val rulesEvaluated: Int, val appliedRules: List<AppliedRule> = emptyList())
The result of a RuleEngine.evaluate call.