KotlinTopLevelExtensionConfig

Deprecated

Use KotlinBaseExtension interface instead

Replace with

KotlinBaseExtension

A plugin DSL extension for configuring common options for the entire project.

Use the extension in your build script in the kotlin block:

kotlin {
// Your extension configuration
}

Inheritors

Properties

Link copied to clipboard

Specifies the version of the core Kotlin libraries that are added to the Kotlin compile classpath, unless there is already a dependency added to this project.

Link copied to clipboard

Configures default explicit API mode for all non-test compilations in the project.

Functions

Link copied to clipboard
abstract fun explicitApi()

Sets explicitApi option to report issues as errors.

Link copied to clipboard
abstract fun explicitApiWarning()

Sets explicitApi option to report issues as warnings.