KotlinCompile

Deprecated

Replaced with 'KotlinCompilationTask' that exposes the compiler options DSL. More details are here: https://kotl.in/u1r8ln

Represents a Kotlin task compiling using configurable kotlinOptions.

See KotlinCommonOptions and its inheritors for possible Kotlin compiler options.

Note: This interface is soft-deprecated and only exists for compatibility to configure Kotlin compilation options using soft-deprecated kotlinOptions. Instead, better to use KotlinCompilationTask to configure Kotlin compilation options via KotlinCompilationTask.compilerOptions.

See also

Inheritors

Properties

Link copied to clipboard
abstract val kotlinOptions: T

Represents the compiler options used by a Kotlin compilation process.

Functions

Link copied to clipboard
open fun kotlinOptions(fn: T.() -> Unit)
open fun kotlinOptions(fn: Action<in T>)

Configures the kotlinOptions with the provided configuration.