ComposeCompilerGradlePluginExtension

Provides DSL to configure Compose compiler plugin options.

It is available in the build scripts under "composeCompiler" name:

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 flags when it is in the process of becoming the default behavior of the Compose compiler. Features in this set will eventually be removed and disabling will no longer be supported. See ComposeFeatureFlag for the list of features currently recognized by the plugin.

Link copied to clipboard

Generate function key meta classes 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 the stability configuration file.

Link copied to clipboard
val targetKotlinPlatforms: SetProperty<KotlinPlatformType>

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