File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
src/main/kotlin/androidx/build/gradle/gcpbuildcache Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ gradlePlugin {
5555 id = " androidx.build.gradle.gcpbuildcache"
5656 displayName = " Gradle GCP Build Cache Plugin"
5757 description = """
58- - Graduating to 1.0.0 stable version.
58+ - Move to using GRPC to fetch cache entries from GCP. Local testing shows that it drops sequential download time by ~40%
5959 """ .trimIndent()
6060 implementationClass = " androidx.build.gradle.gcpbuildcache.GcpGradleBuildCachePlugin"
6161 tags = listOf (" buildcache" , " gcp" , " caching" )
@@ -64,7 +64,7 @@ gradlePlugin {
6464}
6565
6666group = " androidx.build.gradle.gcpbuildcache"
67- version = " 1.0.0 "
67+ version = " 1.0.1 "
6868
6969testing {
7070 suites {
Original file line number Diff line number Diff line change @@ -173,10 +173,11 @@ internal class GcpStorageService(
173173 ) ? : return null
174174 val retrySettings = RetrySettings .newBuilder()
175175 retrySettings.maxAttempts = 3
176- return StorageOptions .newBuilder().setCredentials(credentials)
176+ return GrpcStorageOptions .newBuilder().setCredentials(credentials)
177177 .setStorageRetryStrategy(StorageRetryStrategy .getUniformStorageRetryStrategy()).setProjectId(projectId)
178178 .setRetrySettings(retrySettings.build())
179- .setTransportOptions(transportOptions)
179+ .setEnableGrpcClientMetrics(false )
180+ .setAttemptDirectPath(false )
180181 .build()
181182 }
182183
You can’t perform that action at this time.
0 commit comments