Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gcpbuildcache/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ gradlePlugin {
id = "androidx.build.gradle.gcpbuildcache"
displayName = "Gradle GCP Build Cache Plugin"
description = """
- Graduating to 1.0.0 stable version.
- Move to using GRPC to fetch cache entries from GCP. Local testing shows that it drops sequential download time by ~40%
""".trimIndent()
implementationClass = "androidx.build.gradle.gcpbuildcache.GcpGradleBuildCachePlugin"
tags = listOf("buildcache", "gcp", "caching")
Expand All @@ -64,7 +64,7 @@ gradlePlugin {
}

group = "androidx.build.gradle.gcpbuildcache"
version = "1.0.0"
version = "1.0.1"

testing {
suites {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,11 @@ internal class GcpStorageService(
) ?: return null
val retrySettings = RetrySettings.newBuilder()
retrySettings.maxAttempts = 3
return StorageOptions.newBuilder().setCredentials(credentials)
return GrpcStorageOptions.newBuilder().setCredentials(credentials)
.setStorageRetryStrategy(StorageRetryStrategy.getUniformStorageRetryStrategy()).setProjectId(projectId)
.setRetrySettings(retrySettings.build())
.setTransportOptions(transportOptions)
.setEnableGrpcClientMetrics(false)
.setAttemptDirectPath(false)
.build()
}

Expand Down
Loading