ComposeCompilerGradlePluginExtension
Provides DSL to configure Compose compiler plugin options.
It is available in the build scripts as the composeCompiler {}
block:
composeCompiler {
...
}
Properties
Enable intrinsic remember performance optimization.
Remove groups around non-skipping composable functions.
Enable strong skipping mode.
A set of feature flags to enable. A feature requires a feature flag when it is in the process of becoming the default behavior of the Compose compiler. Features in this set will eventually be removed and integrated as baseline behavior; after that, disabling them will no longer be supported. See ComposeFeatureFlag for the list of features currently recognized by the plugin.
Generate function key metaclasses with annotations indicating the functions and their group keys.
Include source information in generated code.
Include composition trace markers in the generated code.
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.
Save Compose build reports to this folder.
Path to the stability configuration file.
List of paths to stability configuration files.
A set of Kotlin platforms to which the Compose compiler plugin will be applied.