-
- All Implemented Interfaces:
-
kotlin.Comparable
,org.gradle.api.Task
,org.gradle.api.plugins.ExtensionAware
public interface CompileUsingKotlinDaemon implements Task
Task is using Kotlin daemon to run compilation.
-
-
Method Summary
Modifier and Type Method Description abstract ListProperty<String>
getKotlinDaemonJvmArguments()
Provides JVM arguments to Kotlin daemon, default is null
if "kotlin.daemon.jvmargs" property is not set.abstract Property<KotlinCompilerExecutionStrategy>
getCompilerExecutionStrategy()
Defines compiler execution strategy, see docs for KotlinCompilerExecutionStrategy for more details abstract Property<Boolean>
getUseDaemonFallbackStrategy()
Defines whether task execution should fail when compilerExecutionStrategy is set to KotlinCompilerExecutionStrategy.DAEMON and compilation via Kotlin daemon was not possible. -
Methods inherited from class kotlin.Comparable
compareTo
-
Methods inherited from class org.gradle.api.plugins.ExtensionAware
getExtensions
-
Methods inherited from class org.gradle.api.Task
configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, doNotTrackState, finalizedBy, getActions, getAnt, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, notCompatibleWithConfigurationCache, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getKotlinDaemonJvmArguments
@Internal() abstract ListProperty<String> getKotlinDaemonJvmArguments()
Provides JVM arguments to Kotlin daemon, default is
null
if "kotlin.daemon.jvmargs" property is not set.
-
getCompilerExecutionStrategy
@Internal() abstract Property<KotlinCompilerExecutionStrategy> getCompilerExecutionStrategy()
Defines compiler execution strategy, see docs for KotlinCompilerExecutionStrategy for more details
-
getUseDaemonFallbackStrategy
@Internal() abstract Property<Boolean> getUseDaemonFallbackStrategy()
Defines whether task execution should fail when compilerExecutionStrategy is set to KotlinCompilerExecutionStrategy.DAEMON and compilation via Kotlin daemon was not possible. If set to true then compilation in such case will be retried without the daemon. Default is
true
-
-
-
-