2018-02-23 05:59:45 +08:00
|
|
|
workspace(name = "io_grpc_grpc_java")
|
2017-06-23 04:06:49 +08:00
|
|
|
|
2019-12-19 06:51:08 +08:00
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "rules_jvm_external",
|
2022-06-25 01:47:27 +08:00
|
|
|
sha256 = "c21ce8b8c4ccac87c809c317def87644cdc3a9dd650c74f41698d761c95175f3",
|
|
|
|
strip_prefix = "rules_jvm_external-1498ac6ccd3ea9cdb84afed65aa257c57abf3e0a",
|
|
|
|
url = "https://github.com/bazelbuild/rules_jvm_external/archive/1498ac6ccd3ea9cdb84afed65aa257c57abf3e0a.zip",
|
2019-12-19 06:51:08 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
load("@rules_jvm_external//:defs.bzl", "maven_install")
|
|
|
|
load("//:repositories.bzl", "IO_GRPC_GRPC_JAVA_ARTIFACTS")
|
|
|
|
load("//:repositories.bzl", "IO_GRPC_GRPC_JAVA_OVERRIDE_TARGETS")
|
2021-12-08 08:18:46 +08:00
|
|
|
load("//:repositories.bzl", "grpc_java_repositories")
|
|
|
|
|
|
|
|
grpc_java_repositories()
|
|
|
|
|
|
|
|
load("@com_google_protobuf//:protobuf_deps.bzl", "PROTOBUF_MAVEN_ARTIFACTS")
|
|
|
|
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
|
|
|
|
|
|
|
|
protobuf_deps()
|
2019-12-19 06:51:08 +08:00
|
|
|
|
2022-05-14 11:50:33 +08:00
|
|
|
load("@envoy_api//bazel:repositories.bzl", "api_dependencies")
|
|
|
|
|
|
|
|
api_dependencies()
|
|
|
|
|
|
|
|
load("@com_google_googleapis//:repository_rules.bzl", "switched_rules_by_language")
|
|
|
|
|
|
|
|
switched_rules_by_language(
|
|
|
|
name = "com_google_googleapis_imports",
|
|
|
|
java = True,
|
|
|
|
)
|
|
|
|
|
2019-12-19 06:51:08 +08:00
|
|
|
maven_install(
|
2021-12-08 08:18:46 +08:00
|
|
|
artifacts = IO_GRPC_GRPC_JAVA_ARTIFACTS + PROTOBUF_MAVEN_ARTIFACTS,
|
2019-12-19 06:51:08 +08:00
|
|
|
generate_compat_repositories = True,
|
|
|
|
override_targets = IO_GRPC_GRPC_JAVA_OVERRIDE_TARGETS,
|
|
|
|
repositories = [
|
|
|
|
"https://repo.maven.apache.org/maven2/",
|
|
|
|
],
|
2022-06-22 03:24:00 +08:00
|
|
|
strict_visibility = True,
|
2019-12-19 06:51:08 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
load("@maven//:compat.bzl", "compat_repositories")
|
|
|
|
|
|
|
|
compat_repositories()
|