KotlinCommonOptions

Deprecated

The kotlinOptions types are deprecated, please migrate to the compilerOptions types. More details are here: https://kotl.in/u1r8ln

Common compiler options for all Kotlin platforms.

Inheritors

Properties

Link copied to clipboard

Report an error if there are any warnings.

Link copied to clipboard
open var apiVersion: String?

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

Link copied to clipboard

A list of additional compiler arguments

Link copied to clipboard

Provide source compatibility with the specified version of Kotlin.

Link copied to clipboard

Don't generate any warnings.

Link copied to clipboard
open var useK2: Boolean

Compile using the experimental K2 compiler pipeline. No compatibility guarantees are provided yet.

Link copied to clipboard
open var verbose: Boolean

Enable verbose logging output.