ComposeOptions

Added in 4.2.0

interface ComposeOptions


Optional settings for the Compose feature.

Summary

Public properties

String?

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

String?

This property is deprecated. Android Gradle Plugin will ignore this option and use the kotlin compiler version that is set in the build script.

Boolean

This property is deprecated. ComposeOptions.useLiveLiterals is deprecated and will be removed in AGP 9.0.

Public properties

kotlinCompilerExtensionVersion

Added in 4.2.0
var kotlinCompilerExtensionVersionString?

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

kotlinCompilerVersion

Added in 4.2.0
Deprecated in 7.0.0
var kotlinCompilerVersionString?

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

useLiveLiterals

Added in 7.0.0
Deprecated in 8.8.0-rc01
var useLiveLiteralsBoolean

Enables live literals in Compose