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 StringpropertyValueprivate final Stringnameprivate final Integerordinalprivate final EnumEntries<KotlinCompilerExecutionStrategy>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description DAEMONExecute Kotlin compiler in its own daemon. Default strategy.
Daemon may be shared across multiple compile tasks if it's considered compatible
IN_PROCESSExecute Kotlin compiler inside the Gradle process
Note: currently this strategy doesn't support incremental compilation
OUT_OF_PROCESSExecute 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 KotlinCompilerExecutionStrategyvalueOf(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 StringgetPropertyValue()value that should be passed for kotlin.compiler.execution.strategyGradle 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.strategyGradle property to choose the strategy
-
getEntries
final EnumEntries<KotlinCompilerExecutionStrategy> getEntries()
The available Kotlin compilation execution strategies in Gradle.
-
-
-
-