Package org.jetbrains.kotlin.gradle.dsl
Interface HasConfigurableKotlinCompilerOptions
-
- All Implemented Interfaces:
public interface HasConfigurableKotlinCompilerOptions<CO extends KotlinCommonCompilerOptions>
DSL entity with the ability to configure Kotlin compiler options.
-
-
Method Summary
Modifier and Type Method Description Unit
compilerOptions(Function1<CO, Unit> configure)
Configures the compilerOptions with the provided configuration. Unit
compilerOptions(Action<CO> configure)
Configures the compilerOptions with the provided configuration. abstract CO
getCompilerOptions()
Represents the compiler options used by a Kotlin compilation process. -
-
Method Detail
-
compilerOptions
Unit compilerOptions(Function1<CO, Unit> configure)
Configures the compilerOptions with the provided configuration.
-
compilerOptions
Unit compilerOptions(Action<CO> configure)
Configures the compilerOptions with the provided configuration.
-
getCompilerOptions
abstract CO getCompilerOptions()
Represents the compiler options used by a Kotlin compilation process.
This can be used to get the values of currently configured options or modify them.
-
-
-
-