Skip to content

Commit b9b961b

Browse files
authored
Merge branch 'main' into release-please--branches--main
2 parents a983808 + f06151d commit b9b961b

4 files changed

Lines changed: 6 additions & 15 deletions

File tree

BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ java_binary(
112112
java_binary(
113113
name = "protoc-gen-code_generator_request_dumper",
114114
main_class = "com.google.api.generator.debug.CodeGeneratorRequestDumper",
115-
runtime_deps = [":protoc-gen-java_gapic"] + MAIN_DEPS_DEBUG_RUNTIME_ONLY,
115+
runtime_deps = [":protoc-gen-java_gapic"] + MAIN_DEPS + MAIN_DEPS_DEBUG_RUNTIME_ONLY,
116116
)
117117

118118
# A binary similar to protoc-gen-java_gapic but reads the CodeGeneratorRequest
@@ -125,7 +125,7 @@ java_binary(
125125
java_binary(
126126
name = "code_generator_request_file_to_gapic_main",
127127
main_class = "com.google.api.generator.debug.CodeGeneratorRequestFileToGapicMain",
128-
runtime_deps = [":protoc-gen-java_gapic"] + MAIN_DEPS_DEBUG_RUNTIME_ONLY,
128+
runtime_deps = [":protoc-gen-java_gapic"] + MAIN_DEPS + MAIN_DEPS_DEBUG_RUNTIME_ONLY,
129129
)
130130

131131
# another test resource

PROPERTIES.bzl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ PROPERTIES = {
22
"version.com_google_protobuf": "3.19.1",
33
# Version of google-java-format is downgraded from 1.8 to 1.7, because 1.8 supports java 11 minimum, while our JRE is java 8.
44
"version.google_java_format": "1.7",
5-
"version.com_google_api_common_java": "1.9.3",
65
"version.io_grpc_java": "1.42.1",
76

87
# Common deps.

WORKSPACE

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ load("@bazel_tools//tools/build_defs/repo:jvm.bzl", "jvm_maven_import_external")
88
# like protobuf will build.
99
http_archive(
1010
name = "bazel_skylib",
11-
sha256 = "c6966ec828da198c5d9adbaa94c05e3a1c7f21bd012a0b29ba8ddbccb2c93b0d",
11+
sha256 = "af87959afe497dc8dfd4c6cb66e1279cb98ccc84284619ebfec27d9c09a903de",
1212
urls = [
13-
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.1.1/bazel-skylib-1.1.1.tar.gz",
14-
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.1.1/bazel-skylib-1.1.1.tar.gz",
13+
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.2.0/bazel-skylib-1.2.0.tar.gz",
14+
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.2.0/bazel-skylib-1.2.0.tar.gz",
1515
],
1616
)
1717

@@ -33,7 +33,7 @@ jvm_maven_import_external(
3333
# which in its turn, prioritizes actual generated clients runtime dependencies
3434
# over the generator dependencies.
3535

36-
_gax_java_version = "2.11.0"
36+
_gax_java_version = "2.12.2"
3737

3838
http_archive(
3939
name = "com_google_api_gax_java",

repositories.bzl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,6 @@ def gapic_generator_java_repositories():
7777
actual = "@com_google_code_gson_gson//jar",
7878
)
7979

80-
_api_common_java_version = PROPERTIES["version.com_google_api_common_java"]
81-
_maybe(
82-
jvm_maven_import_external,
83-
name = "com_google_api_api_common",
84-
artifact = "com.google.api:api-common:%s" % _api_common_java_version,
85-
server_urls = ["https://repo.maven.apache.org/maven2/"],
86-
)
87-
8880
# grpc-proto doesn't have releases, so we use hashes instead.
8981
_io_grpc_proto_prefix = "8e3fec8612bc0708e857950dccadfd5063703e04" # Nov. 6, 2021.
9082
_maybe(

0 commit comments

Comments
 (0)