CompileUsingKotlinDaemon

interface CompileUsingKotlinDaemon : Task

Represents a Kotlin task that uses the Kotlin daemon to compile.

Properties

Link copied to clipboard
@get:Internal
abstract val compilerExecutionStrategy: Property<KotlinCompilerExecutionStrategy>

Defines the compiler execution strategy, see docs for KotlinCompilerExecutionStrategy for more details.

Link copied to clipboard
@get:Internal
abstract val kotlinDaemonJvmArguments: ListProperty<String>

Provides JVM arguments to the Kotlin daemon. The default is null if the kotlin.daemon.jvmargs property is not set.

Link copied to clipboard
@get:Internal
abstract val useDaemonFallbackStrategy: Property<Boolean>

Defines whether task execution should fail when compilerExecutionStrategy is set to KotlinCompilerExecutionStrategy.DAEMON and compilation via the Kotlin daemon is not possible. If set to true, then compilation is retried without the daemon.