getMaxParallelUsages

Specifies the maximum number of tasks that can use this service in parallel. Setting this to 1 means that the service will be used by a single task at a time. When this property has no value defined, then any number of tasks may use this service in parallel. This is the default.

IMPORTANT: the build service must be explicitly registered with every using task via Task#usesService for this constraint to be honored.

See also

org.gradle.api.Task