Build Service Registry
A registry of build services. You use this type to register service instances.
A registry is available using getSharedServices.
Since
6.1
Functions
Link copied to clipboard
Returns the set of service registrations.
Link copied to clipboard
open fun <T : BuildService<P>?, P : BuildServiceParameters?> registerIfAbsent(name: String, implementationType: Class<T>): Provider<T>
abstract fun <T : BuildService<P>?, P : BuildServiceParameters?> registerIfAbsent(name: String, implementationType: Class<T>, configureAction: Action<in BuildServiceSpec<P>>): Provider<T>
Registers a service, if a service with the given name is not already registered.