LanguageSettingsBuilder

Provides the DSL to configure LanguageSettings for a KotlinSourceSet entity.

Note: This interface will be deprecated in the future. Instead, it is better to use the existing compilerOptions DSL.

For more information, see Compiler options in the Kotlin Gradle plugin.

Properties

Link copied to clipboard
abstract override var apiVersion: String?

Allow using declarations only from the specified version of bundled libraries.

Link copied to clipboard
abstract override var languageVersion: String?

Provide source compatibility with the specified version of Kotlin.

Link copied to clipboard

Enable API usages that require opt-in with an opt-in requirement marker with the given fully qualified name.

Link copied to clipboard
abstract override var progressiveMode: Boolean

Enable progressive compiler mode.

Functions

Link copied to clipboard
abstract fun optIn(annotationName: String)

Adds an additional opt-in requirement marker with the given fully qualified name.