GenerateGraphMetadataTask
Aggregates Metro graph metadata JSON files into a single consolidated report on a per-compilation basis.
This task collects all graph metadata JSON files generated by the Metro compiler plugin in a given compilation and combines them into a single JSON file containing metadata about all dependency graphs in the project. The output includes the project path, graph count, and an array of all individual graph metadata objects.
The generated file is useful for:
CI validation of dependency graph structure
Automated analysis and reporting
Tooling that needs a complete view of all Metro graphs in a project
Properties
The kotlinc compilation name.
The graph metadata JSON files.
The output file where the consolidated metadata will be written.
The Gradle project path this task is generating metadata for.