AalekhBaselineTask
Writes the current architecture violations to a committed baseline file.
Run ./gradlew aalekhBaseline once, commit the generated aalekh-baseline.json, and from then on aalekhCheck suppresses every violation recorded in it and fails only on new ones. This is the standard "freeze the debt, block regressions" workflow that lets a team turn on strict rules against a large existing codebase without fixing everything first.
The baseline records one stable fingerprint (ruleId|source) per non-INFO violation. Re-run the task after you have legitimately fixed or accepted violations to refresh it.
Caching is disabled: the task deliberately overwrites a source-tree file to reflect current state.
Properties
The baseline file to write, e.g. <rootDir>/aalekh-baseline.json.
Serialized forbid { } predicate rules, so the baseline covers them too.
Serialized reachability rules, so the baseline covers them too.
Serialized per-source-set rules, so the baseline covers them too.