Properties

Link copied to clipboard
@get:Optional
@get:Input
abstract val apiVersion: Property<KotlinVersion>

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

Link copied to clipboard
@get:Optional
@get:Input
abstract val languageVersion: Property<KotlinVersion>

Provide source compatibility with the specified version of Kotlin.

Link copied to clipboard
@get:Input
abstract val optIn: ListProperty<String>

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

Link copied to clipboard
@get:Input
abstract val progressiveMode: Property<Boolean>

Enable progressive compiler mode. In this mode, deprecations and bug fixes for unstable code take effect immediately instead of going through a graceful migration cycle. Code written in progressive mode is backward compatible; however, code written without progressive mode enabled may cause compilation errors in progressive mode.