Skip to content

Commit 86a560d

Browse files
authored
build: not relying on gax's zip archive (#1273)
gax-java is now part of gapic-generator-java. No need to fetch the released zip file to get the dependencies list. In future, we'll revisit how we maintain the dependencies to the user of gapic-generator-java, even for self-service users.
1 parent 9737beb commit 86a560d

File tree

73 files changed

+7373
-8845
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+7373
-8845
lines changed

WORKSPACE

+3-7
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,9 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
66
# gapic-generator-java dependencies to match the order in googleapis repository,
77
# which in its turn, prioritizes actual generated clients runtime dependencies
88
# over the generator dependencies.
9-
10-
_gax_java_version = "2.19.0"
11-
12-
http_archive(
13-
name = "com_google_api_gax_java",
14-
strip_prefix = "gax-java-%s" % _gax_java_version,
15-
urls = ["https://github.com/googleapis/gax-java/archive/v%s.zip" % _gax_java_version],
9+
local_repository(
10+
name = "com_google_api_gax_java",
11+
path = "gax-java",
1612
)
1713

1814
load("@com_google_api_gax_java//:repository_rules.bzl", "com_google_api_gax_java_properties")

showcase/proto-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/AttemptSequenceRequest.java

+63-78
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)