Skip to content

Commit 361ff6f

Browse files
authored
Merge pull request #48 from aSemy/patch-1
Update GCP README
2 parents 7a50b7a + 884818a commit 361ff6f

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

gcpbuildcache/README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,15 @@ An implementation of the Gradle Remote Cache that's backed by Google Cloud Stora
77
In your `settings.gradle.kts` file add the following
88

99
```kotlin
10-
plugins {
11-
id("androidx.build.gradle.gcpbuildcache") version "1.0.0-beta07"
12-
}
13-
1410
import androidx.build.gradle.gcpbuildcache.GcpBuildCache
1511
import androidx.build.gradle.gcpbuildcache.GcpBuildCacheServiceFactory
1612
import androidx.build.gradle.gcpbuildcache.ExportedKeyGcpCredentials
1713

14+
plugins {
15+
id("androidx.build.gradle.gcpbuildcache") version "1.0.0-beta07"
16+
}
17+
1818
buildCache {
19-
registerBuildCacheService(GcpBuildCache::class, GcpBuildCacheServiceFactory::class)
2019
remote(GcpBuildCache::class) {
2120
projectId = "foo"
2221
bucketName = "bar"
@@ -44,7 +43,6 @@ import androidx.build.gradle.gcpbuildcache.GcpBuildCacheServiceFactory
4443
import androidx.build.gradle.gcpbuildcache.ExportedKeyGcpCredentials
4544
4645
buildCache {
47-
registerBuildCacheService(GcpBuildCache, GcpBuildCacheServiceFactory)
4846
remote(GcpBuildCache) {
4947
projectId = "projectName"
5048
bucketName = "storageBucketName"

0 commit comments

Comments
 (0)