BuildInventory
constructor(modules: List<ModuleBuildInfo> = emptyList(), catalogs: List<VersionCatalog> = emptyList(), toolVersions: Map<String, String> = emptyMap(), codeowners: Map<String, List<String>> = emptyMap(), declaredMetadata: Map<String, ModuleMetadata> = emptyMap())(source)
Parameters
modules
Per-module build configuration, sorted by path.
catalogs
Version catalogs declared for the build.
toolVersions
Build-tool versions detected for the whole build, keyed by tool name ("gradle", "agp", "kotlin"). Absent keys mean the tool was not detected, not that it is not present.
codeowners
Module path to the owners CODEOWNERS assigns it, when such a file exists.
declaredMetadata
Module metadata read from .aalekh/modules.json, keyed by module path.