buildInventoryJson
The configuration-time half of the build inventory, as JSON.
Version catalogs, toolchains, KMP targets, test source sets, and tool versions are read from the Gradle object model while it is still available, then flattened to one string rather than a dozen map properties. The execution-time half - plugin ids from build scripts, CODEOWNERS, declared module metadata - is merged in by extract, because those come from files that must be declared as task inputs to be tracked correctly.