Compose Compiler Gradle Plugin Extension
Provides DSL to configure Compose compiler plugin options.
It is available in the build scripts under "composeCompiler" name:
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 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.
Generate function key meta classes 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 the stability configuration file.
A set of Kotlin platforms to which the Compose plugin will be applied.