Kotlin Top Level Extension
Deprecated
Replaced with 'KotlinBaseExtension'
Replace with
KotlinBaseExtensionContent copied to clipboard
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
}Content copied to clipboard
Since
2.1.0
Inheritors
Properties
Functions
Link copied to clipboard
Enables ABI validation in Kotlin.
An experimental plugin DSL extension to configure Application Binary Interface (ABI) validation.
Link copied to clipboard
abstract fun <T : Named> NamedDomainObjectContainer<T>.invokeWhenCreated(name: String, configure: T.() -> Unit)
This function can be used to configure objects that are not yet created, or are created by 'afterEvaluate' (for example, typically for Android source sets containing flavors and buildTypes).
Link copied to clipboard
Configures the Java toolchain both for Kotlin/JVM and Java tasks in the project.