usesService

abstract fun usesService(service: Provider<out BuildService<out Any>>)(source)

Registers a BuildService that is used by this task so its constraint on parallel execution can be honored.

Since

6.1

Parameters

service

The service provider.