File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -8,13 +8,15 @@ In your `settings.gradle.kts` file add the following
88
99``` kotlin
1010plugins {
11- id(" androidx.build.gradle.gcpbuildcache" ) version " 1.0.0-alpha02 "
11+ id(" androidx.build.gradle.gcpbuildcache" ) version " 1.0.0-alpha03 "
1212}
1313
1414import androidx.build.gradle.gcpbuildcache.GcpBuildCache
15+ import androidx.build.gradle.gcpbuildcache.GcpBuildCacheServiceFactory
1516import androidx.build.gradle.gcpbuildcache.ExportedKeyGcpCredentials
1617
1718buildCache {
19+ registerBuildCacheService(GcpBuildCache ::class , GcpBuildCacheServiceFactory ::class )
1820 remote(GcpBuildCache ::class ) {
1921 projectId = " foo"
2022 bucketName = " bar"
@@ -34,13 +36,15 @@ If you are using Groovy, then you should do the following:
3436
3537``` groovy
3638plugins {
37- id("androidx.build.gradle.gcpbuildcache") version "1.0.0-alpha02 "
39+ id("androidx.build.gradle.gcpbuildcache") version "1.0.0-alpha03 "
3840}
3941
4042import androidx.build.gradle.gcpbuildcache.GcpBuildCache
43+ import androidx.build.gradle.gcpbuildcache.GcpBuildCacheServiceFactory
4144import androidx.build.gradle.gcpbuildcache.ExportedKeyGcpCredentials
4245
4346buildCache {
47+ registerBuildCacheService(GcpBuildCache, GcpBuildCacheServiceFactory)
4448 remote(GcpBuildCache) {
4549 projectId = "projectName"
4650 bucketName = "storageBucketName"
You can’t perform that action at this time.
0 commit comments