ComposeCompilerGradlePluginExtension

Provides DSL to configure Compose compiler plugin options.

It is available in the build scripts as the composeCompiler {} block:

composeCompiler {
...
}

Properties

Link copied to clipboard

Enable intrinsic remember performance optimization.

Link copied to clipboard

Remove groups around non-skipping composable functions.

Link copied to clipboard

Enable strong skipping mode.

Link copied to clipboard

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.

Link copied to clipboard

Generate function key metaclasses with annotations indicating the functions and their group keys.

Link copied to clipboard

Include source information in generated code.

Link copied to clipboard

Include composition trace markers in the generated code.

Link copied to clipboard

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.

Link copied to clipboard

Save Compose build reports to this folder.

Link copied to clipboard

Path to the stability configuration file.

Link copied to clipboard

List of paths to stability configuration files.

Link copied to clipboard

A set of Kotlin platforms to which the Compose compiler plugin will be applied.