Clone
Sterling Greene
committed
on 20 Feb 17
Remove BuildCacheServiceFactory and inject into the BuildCacheService
Instead of allowing a user to specify a user-created BuildCacheService… Show more
Remove BuildCacheServiceFactory and inject into the BuildCacheService

Instead of allowing a user to specify a user-created BuildCacheServiceFactory and then

allowing them to create their own BuildCacheService implementation, add a register method

to BuildCacheConfiguration that takes the configuration type and build cache service

implementation type.

We control the creation of all the necessary pieces and injection of dependencies.

The main side effect of this is that the build cache implementation's constructor must be

done in a particular way and annotated with @Inject.

+review REVIEW-6448

Show less

green-master + 484 more