@Incubating interface ParallelismConfiguration
A ParallelismConfiguration
defines the parallel settings for a Gradle build.
Since
4.1
abstract fun getMaxWorkerCount(): Int
Returns the maximum number of concurrent workers used for underlying build operations. Workers can be threads, processes or whatever Gradle considers a "worker". Some examples:
|
|
abstract fun isParallelProjectExecutionEnabled(): Boolean
Returns true if parallel project execution is enabled. |
|
abstract fun setMaxWorkerCount(maxWorkerCount: Int): Unit
Specifies the maximum number of concurrent workers used for underlying build operations. |
|
abstract fun setParallelProjectExecutionEnabled(parallelProjectExecution: Boolean): Unit
Enables/disables parallel project execution. |
open class StartParameter : LoggingConfiguration, ParallelismConfiguration, Serializable
You can obtain an instance of a |