register If Absent
inline fun <T : BuildService<P>, P : BuildServiceParameters> BuildServiceRegistry.registerIfAbsent(name: String, implementationType: KClass<T>, configureAction: Action<in BuildServiceSpec<P>>): Provider<T>(source)
inline fun <T : BuildService<P>, P : BuildServiceParameters> BuildServiceRegistry.registerIfAbsent(name: String, implementationType: KClass<T>, configureAction: Action<in BuildServiceSpec<P>>): Provider<T>(source)
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.services.BuildServiceRegistry.registerIfAbsent.
Since
6.1
See also
Build Service Registry. register If Absent
inline fun <T : BuildService<P>, P : BuildServiceParameters> BuildServiceRegistry.registerIfAbsent(name: String, implementationType: KClass<T>): Provider<T>(source)
inline fun <T : BuildService<P>, P : BuildServiceParameters> BuildServiceRegistry.registerIfAbsent(name: String, implementationType: KClass<T>): Provider<T>(source)
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.services.BuildServiceRegistry.registerIfAbsent.
Since
8.7
See also
Build Service Registry. register If Absent