# ComposeOptions

# ComposeOptions

```
@Incubating interface ComposeOptions
```

|----------------------------------------------------------------------------------------------------------------------------------------------------|
| [com.android.build.api.dsl.ComposeOptions](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/dsl/ComposeOptions#) |

Optional settings for the Compose feature.

## Summary

|                                                                                                                                                                                    ### Properties                                                                                                                                                                                    ||
|--------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| abstract[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?  | [kotlinCompilerExtensionVersion](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/dsl/ComposeOptions#kotlinCompilerExtensionVersion:kotlin.String) Sets the version of the Kotlin Compiler extension for the project or null if using the default one. |
| abstract[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?  | [kotlinCompilerVersion](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/dsl/ComposeOptions#kotlinCompilerVersion:kotlin.String) Sets the version of the Kotlin Compiler used to compile the project or null if using the default one.                 |
| abstract[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | [useLiveLiterals](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/dsl/ComposeOptions#useLiveLiterals:kotlin.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