Companion

Functions

Link copied to clipboard

Builds an engine with no rules - useful in tests.

Link copied to clipboard
fun fromConfig(layerEntries: List<String>, featurePattern: String, featureAllowedPairs: List<String>, ruleEntries: List<String>, previousCycleCount: Int? = null, forbidEntries: List<String> = emptyList(), reachabilityEntries: List<String> = emptyList(), sourceSetEntries: List<String> = emptyList()): RuleEngine

Builds a fully configured RuleEngine from the serialized DSL inputs passed through Gradle task properties. All parameters are plain strings for configuration-cache safety - no live Gradle objects.

Link copied to clipboard

Builds an engine with only the built-in cycle detection rule.