ComposeHandler

abstract class ComposeHandler @Inject constructor(objects: ObjectFactory, globalFoundryProperties: FoundryProperties, foundryProperties: FoundryProperties, versionCatalog: VersionCatalog)(source)

Constructors

Link copied to clipboard
@Inject
constructor(objects: ObjectFactory, globalFoundryProperties: FoundryProperties, foundryProperties: FoundryProperties, versionCatalog: VersionCatalog)

Functions

Link copied to clipboard
fun compilerOption(key: String, value: String)

Configures the compiler options for Compose. This is a list of strings that will be passed into the underlying kotlinc invocation. Note that you should not include the plugin prefix, just the simple key/value options directly.

Link copied to clipboard
fun enableCompilerMetricsForDebugging(reportsDestination: File, metricsDestination: File = reportsDestination)

Enables compose compiler metrics for this project. Note this should not be enabled by default and is just for debugging!