# registerBuildCacheService

inline fun <T : ERROR CLASS: Symbol not found for org.gradle.caching.configuration.BuildCache> ERROR CLASS: Symbol not found for org.gradle.caching.configuration.BuildCacheConfiguration.registerBuildCacheService(configurationType: KClass<T>, buildCacheServiceFactoryType: KClass<out ERROR CLASS: Symbol not found for org.gradle.caching.BuildCacheServiceFactory<in T>>)(source)
inline fun <T : ERROR CLASS: Symbol not found for org.gradle.caching.configuration.BuildCache> ERROR CLASS: Symbol not found for org.gradle.caching.configuration.BuildCacheConfiguration.registerBuildCacheService(configurationType: KClass<T>, buildCacheServiceFactoryType: KClass<out ERROR CLASS: Symbol not found for org.gradle.caching.BuildCacheServiceFactory<in T>>)(source)

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.caching.configuration.BuildCacheConfiguration.registerBuildCacheService.

#### Since

3.5

#### See also

org.gradle.caching.configuration.BuildCacheConfiguration.registerBuildCacheService

inline fun <T : ERROR CLASS: Symbol not found for BuildCache> ERROR CLASS: Symbol not found for BuildCacheConfiguration.registerBuildCacheService(buildCacheServiceFactoryType: KClass<out ERROR CLASS: Symbol not found for BuildCacheServiceFactory<in T>>)(source)

Registers a custom build cache type.

#### Parameters

buildCacheServiceFactoryType

Implementation type of BuildCacheServiceFactory that is used to create a org.gradle.caching.BuildCacheService

#### Type Parameters

T

Configuration type used to provide parameters to a org.gradle.caching.BuildCacheService

#### See also

BuildCacheConfiguration.registerBuildCacheService