From e9e4794628b016af9712d891c1d464f4b9ae19f9 Mon Sep 17 00:00:00 2001 From: Elliotte Rusty Harold Date: Tue, 28 Jan 2020 15:19:15 -0500 Subject: [PATCH 1/2] update auth libraries --- build.gradle | 2 +- repositories.bzl | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index 259d1403d47..d5a4ff90b82 100644 --- a/build.gradle +++ b/build.gradle @@ -47,7 +47,7 @@ subprojects { nettyVersion = '4.1.42.Final' guavaVersion = '28.1-android' - googleauthVersion = '0.19.0' + googleauthVersion = '0.20.0' protobufVersion = '3.11.0' protocVersion = protobufVersion opencensusVersion = '0.24.0' diff --git a/repositories.bzl b/repositories.bzl index 78cdf086f39..c0a244be917 100644 --- a/repositories.bzl +++ b/repositories.bzl @@ -13,8 +13,8 @@ load("@bazel_tools//tools/build_defs/repo:jvm.bzl", "jvm_maven_import_external") IO_GRPC_GRPC_JAVA_ARTIFACTS = [ "com.google.android:annotations:4.1.1.4", "com.google.api.grpc:proto-google-common-protos:1.17.0", - "com.google.auth:google-auth-library-credentials:0.19.0", - "com.google.auth:google-auth-library-oauth2-http:0.19.0", + "com.google.auth:google-auth-library-credentials:0.20.0", + "com.google.auth:google-auth-library-oauth2-http:0.20.0", "com.google.code.findbugs:jsr305:3.0.2", "com.google.code.gson:gson:jar:2.8.6", "com.google.errorprone:error_prone_annotations:2.3.4", @@ -191,18 +191,18 @@ def com_google_api_grpc_proto_google_common_protos(): def com_google_auth_google_auth_library_credentials(): jvm_maven_import_external( name = "com_google_auth_google_auth_library_credentials", - artifact = "com.google.auth:google-auth-library-credentials:0.19.0", + artifact = "com.google.auth:google-auth-library-credentials:0.20.0", server_urls = ["https://repo.maven.apache.org/maven2/"], - artifact_sha256 = "3f81ea05795abc40daf36f4c427487a738489f7cc0f515b7930f838ed301165a", + artifact_sha256 = "8a415273a5dae5c8f9080134e53b9592dc171ca5d13127488c910177c5903bd6", licenses = ["notice"], # BSD 3-clause ) def com_google_auth_google_auth_library_oauth2_http(): jvm_maven_import_external( name = "com_google_auth_google_auth_library_oauth2_http", - artifact = "com.google.auth:google-auth-library-oauth2-http:0.19.0", + artifact = "com.google.auth:google-auth-library-oauth2-http:0.20.0", server_urls = ["https://repo.maven.apache.org/maven2/"], - artifact_sha256 = "51992d58ec0f903fb521412f677bd09d83895609a0198d4a9ae65a3d88e2aa4a", + artifact_sha256 = "43e96e8c07285c2887042eda4e35ca96522ef361f6c1843f469039d9ccdc8f8a", licenses = ["notice"], # BSD 3-clause ) From a6a3339abf6a103b0bfa13f00c1308ef1e943ae3 Mon Sep 17 00:00:00 2001 From: Jihun Cho Date: Thu, 30 Jan 2020 10:49:49 -0800 Subject: [PATCH 2/2] examples-alts: add mavenCentral repository --- examples/example-alts/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/example-alts/build.gradle b/examples/example-alts/build.gradle index 57b8047153d..0284bf3bde0 100644 --- a/examples/example-alts/build.gradle +++ b/examples/example-alts/build.gradle @@ -11,6 +11,7 @@ repositories { maven { // The google mirror is less flaky than mavenCentral() url "https://maven-central.storage-download.googleapis.com/repos/central/data/" } + mavenCentral() mavenLocal() }