Android 12 Developer Preview is here! Try it out, and give us your feedback!

ComposeOptions

@Incubating interface ComposeOptions
com.android.build.api.dsl.ComposeOptions

Optional settings for the Compose feature.

Summary

Properties

abstract String?

Sets the version of the Kotlin Compiler extension for the project or null if using the default one.

abstract String?

Sets the version of the Kotlin Compiler used to compile the project or null if using the default one.

abstract Boolean

Enables live literals in Compose

Properties

kotlinCompilerExtensionVersion

abstract var kotlinCompilerExtensionVersion: String?

Sets the version of the Kotlin Compiler extension for the project or null if using the default one.

kotlinCompilerVersion

abstract var kotlinCompilerVersion: String?

Deprecated.

Sets the version of the Kotlin Compiler used to compile the project or null if using the default one.

useLiveLiterals

abstract var useLiveLiterals: Boolean

Enables live literals in Compose