metricsDestination
Save Compose build metrics to this folder. When specified, the Compose compiler will dump metrics about the current module, which can be useful when manually optimizing your application's runtime performance. The module.json will include the statistics about processed composables and classes, including number of stable classes/parameters, skippable functions, etc.
For more information, see these links: