gradle
8.2

# BuildServiceSpec

interface BuildServiceSpec<P : BuildServiceParameters?>

A set of parameters that defines a service registration.

#### Parameters

<P>

The type of parameters to inject into the service implementation.

## Functions

getMaxParallelUsages
Link copied to clipboard
abstract fun getMaxParallelUsages(): Property<Integer>
Specifies the maximum number of tasks that can use this service in parallel.
getParameters
Link copied to clipboard
abstract fun getParameters(): P
Returns the parameters to will be used to create the service instance.
parameters
Link copied to clipboard
abstract fun parameters(configureAction: Action<out Any>)
Runs the given action to configure the parameters.