-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathMODULE.bazel
More file actions
99 lines (94 loc) · 3.38 KB
/
MODULE.bazel
File metadata and controls
99 lines (94 loc) · 3.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
module(
name = "tools_remote",
repo_name = "tools_remote",
)
bazel_dep(name = "protobuf", version = "33.4")
archive_override(
module_name = "protobuf",
integrity = "sha256-aH6YpHGXO1xf1xF1DEC4uCwK3jP2Sdtl4AspDyk0Wis=",
patch_args = ["-p1"],
patches = [
"//third_party:protobuf.patch",
],
strip_prefix = "protobuf-33.4",
urls = [
"https://github.com/protocolbuffers/protobuf/releases/download/v33.4/protobuf-33.4.bazel.tar.gz",
],
)
bazel_dep(name = "grpc", version = "1.76.0.bcr.1", repo_name = "com_github_grpc_grpc")
bazel_dep(name = "rules_java", version = "9.0.3")
bazel_dep(name = "rules_jvm_external", version = "6.9")
bazel_dep(name = "grpc-java", version = "1.78.0")
bazel_dep(name = "googleapis", version = "0.0.0-20260109-6145b5ff")
bazel_dep(name = "googleapis-grpc-java", version = "1.0.0")
bazel_dep(name = "bazel_remote_apis", version = "b02e15a6d354e2fb553216132ccec79f3f5b39cb")
archive_override(
module_name = "bazel_remote_apis",
integrity = "sha256-6/f8P1tElIJnbGlKyYjWfu4GicS/Ai/ECay+Uqy/JyY=",
patch_args = ["-p1"],
patches = [
"//third_party:remote-apis.patch",
],
strip_prefix = "remote-apis-b02e15a6d354e2fb553216132ccec79f3f5b39cb",
urls = [
"https://github.com/bazelbuild/remote-apis/archive/b02e15a6d354e2fb553216132ccec79f3f5b39cb.zip",
],
)
maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven")
maven.install(
name = "tools_remote_maven",
artifacts = [
"com.beust:jcommander:1.72",
"com.google.auth:google-auth-library-credentials", # Version is specified via the BOM below
"com.google.auth:google-auth-library-oauth2-http", # Version is specified via the BOM below
"com.google.code.findbugs:jsr305:3.0.2",
"com.google.guava:guava:31.0.1-jre",
"com.google.http-client:google-http-client:1.23.0",
"com.google.http-client:google-http-client-jackson2:1.23.0",
"com.google.protobuf:protobuf-java:3.25.8",
"com.google.protobuf:protobuf-java-util:3.25.8",
"com.googlecode.json-simple:json-simple:1.1.1",
"io.grpc:grpc-api",
"io.grpc:grpc-auth",
"io.grpc:grpc-context",
"io.grpc:grpc-core",
"io.grpc:grpc-netty",
"io.grpc:grpc-netty-shaded",
"io.grpc:grpc-protobuf",
"io.grpc:grpc-services",
"io.grpc:grpc-stub",
"io.grpc:grpc-util",
"io.netty:netty-handler",
"io.netty:netty-tcnative-boringssl-static",
],
boms = [
# keep sorted
"com.google.auth:google-auth-library-bom:1.23.0",
"io.grpc:grpc-bom:1.75.0",
"io.netty:netty-bom:4.1.108.Final",
],
fail_if_repin_required = True, # TO RE-PIN: REPIN=1 bazel run @buildfarm_maven//:pin
generate_compat_repositories = True,
lock_file = "//:maven_install.json",
repositories = [
"https://repo.maven.apache.org/maven2",
],
resolver = "maven",
strict_visibility = True,
)
# Test only maven dependencies
[
maven.artifact(
name = "tools_remote_maven",
testonly = True,
artifact = artifact,
group = group,
version = version,
)
for group, artifact, version in [coord.split(":") for coord in [
"com.google.jimfs:jimfs:1.3.0",
"com.google.truth:truth:1.4.2",
"io.grpc:grpc-inprocess:1.75.0",
]]
]
use_repo(maven, "tools_remote_maven")