Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# ComposeOptions\n==============\n\n\n```\n@Incubating interface ComposeOptions\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nOptional settings for the Compose feature.\n\nSummary\n-------\n\n| ### Public properties ||\n|-------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?` | [kotlinCompilerExtensionVersion](/reference/tools/gradle-api/7.4/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. |\n| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?` | [kotlinCompilerVersion](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/ComposeOptions#kotlinCompilerVersion()) **This property is deprecated.** |\n| [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | [useLiveLiterals](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/ComposeOptions#useLiveLiterals()) Enables live literals in Compose |\n\nPublic properties\n-----------------\n\n### kotlinCompilerExtensionVersion\n\n```\nvar kotlinCompilerExtensionVersion: String?\n```\n\nSets the version of the Kotlin Compiler extension for the project or null if using the default one. \n\n### kotlinCompilerVersion\n\n```\nvar kotlinCompilerVersion: String?\n```\n| **This property is deprecated.** \n\nSets the version of the Kotlin Compiler used to compile the project or null if using the default one. \n\n### useLiveLiterals\n\n```\nvar useLiveLiterals: Boolean\n```\n\nEnables live literals in Compose"]]