AalekhDocsTask
Writes the project's architecture documentation as Markdown.
The HTML report is for exploring; these files are for reading and reviewing. They render on GitHub with no build step, so a reviewer sees them without cloning, and they diff line by line, so an architectural change appears in a pull request next to the code that caused it.
Run: ./gradlew aalekhDocs Output: <projectRoot>/build/reports/aalekh/docs/
The output is deterministic - no timestamps, no run ids, sorted throughout - which is what makes committing it worthwhile: re-running on an unchanged project rewrites the same bytes, so any diff is a real architectural change rather than noise from the tool having run again. Teams that want the documentation reviewed alongside the code copy the directory into the repository and add a CI step that fails when a re-run produces a diff.
Properties
Serialized layers { } declarations; groups the regions document by the declared architecture.
Serialized teams { } map; supplies ownership in the module catalogue.