StartParameter
@Incubating public interface ParallelismConfiguration
ParallelismConfiguration
defines the parallel settings for a Gradle build.Modifier and Type | Method | Description |
---|---|---|
int |
getMaxWorkerCount() |
Returns the maximum number of concurrent workers used for underlying build operations.
|
boolean |
isParallelProjectExecutionEnabled() |
Returns true if parallel project execution is enabled.
|
void |
setMaxWorkerCount(int maxWorkerCount) |
Specifies the maximum number of concurrent workers used for underlying build operations.
|
void |
setParallelProjectExecutionEnabled(boolean parallelProjectExecution) |
Enables/disables parallel project execution.
|
boolean isParallelProjectExecutionEnabled()
getMaxWorkerCount()
void setParallelProjectExecutionEnabled(boolean parallelProjectExecution)
isParallelProjectExecutionEnabled()
int getMaxWorkerCount()
Runtime.availableProcessors()
void setMaxWorkerCount(int maxWorkerCount)
IllegalArgumentException
- if maxWorkerCount
is < 1getMaxWorkerCount()