Enum KotlinCompilerExecutionStrategy
-
- All Implemented Interfaces:
-
java.io.Serializable
,kotlin.Comparable
public enum KotlinCompilerExecutionStrategy extends Enum<KotlinCompilerExecutionStrategy>
The available Kotlin compilation execution strategies in Gradle.
-
-
Field Summary
Fields Modifier and Type Field Description private final String
propertyValue
private final String
name
private final Integer
ordinal
private final EnumEntries<KotlinCompilerExecutionStrategy>
entries
-
Enum Constant Summary
Enum Constants Enum Constant Description DAEMON
Execute Kotlin compiler in its own daemon. Default strategy.
Daemon may be shared across multiple compile tasks if it's considered compatible
IN_PROCESS
Execute Kotlin compiler inside the Gradle process
Note: currently this strategy doesn't support incremental compilation
OUT_OF_PROCESS
Execute Kotlin compiler in a new forked process for each compilation
Note: currently this strategy doesn't support incremental compilation
-
Method Summary
Modifier and Type Method Description final KotlinCompilerExecutionStrategy
valueOf(String value)
Returns the enum constant of this type with the specified name. final Array<KotlinCompilerExecutionStrategy>
values()
Returns an array containing the constants of this enum type, in the order they're declared. final String
getPropertyValue()
value that should be passed for kotlin.compiler.execution.strategy
Gradle property to choose the strategyfinal EnumEntries<KotlinCompilerExecutionStrategy>
getEntries()
The available Kotlin compilation execution strategies in Gradle. -
-
Method Detail
-
valueOf
final KotlinCompilerExecutionStrategy valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<KotlinCompilerExecutionStrategy> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getPropertyValue
final String getPropertyValue()
value that should be passed for
kotlin.compiler.execution.strategy
Gradle property to choose the strategy
-
getEntries
final EnumEntries<KotlinCompilerExecutionStrategy> getEntries()
The available Kotlin compilation execution strategies in Gradle.
-
-
-
-