usesService
Registers a BuildService that is used by this task so its constraint on parallel execution can be honored.
This is not necessary for task properties declared as org.gradle.api.services.ServiceReferences.
Since
6.1
Parameters
service
The service provider.