# ComposeOptions

# ComposeOptions

<br />

```
interface ComposeOptions
```

<br />

*** ** * ** ***

Optional settings for the Compose feature.

## Summary

|                                                                                                                                                                                     ### Public properties                                                                                                                                                                                      ||
|-------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?` | [kotlinCompilerExtensionVersion](https://developer.android.com/reference/tools/gradle-api/8.2/com/android/build/api/dsl/ComposeOptions#kotlinCompilerExtensionVersion()) Sets the version of the Kotlin Compiler extension for the project or null if using the default one.                              |
| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?` | [kotlinCompilerVersion](https://developer.android.com/reference/tools/gradle-api/8.2/com/android/build/api/dsl/ComposeOptions#kotlinCompilerVersion()) **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](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)  | [useLiveLiterals](https://developer.android.com/reference/tools/gradle-api/8.2/com/android/build/api/dsl/ComposeOptions#useLiveLiterals()) Enables live literals in Compose                                                                                                                               |

## Public properties

### kotlinCompilerExtensionVersion

```
var kotlinCompilerExtensionVersion: String?
```

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

### kotlinCompilerVersion

```
var kotlinCompilerVersion: 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.

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

### useLiveLiterals

```
var useLiveLiterals: Boolean
```

Enables live literals in Compose