Tools release: 1.2.0
This commit is contained in:
@@ -103,65 +103,29 @@ maven_install(
|
||||
)
|
||||
|
||||
# GRPC
|
||||
git_repository(
|
||||
http_archive(
|
||||
name = "io_grpc_grpc_java",
|
||||
remote = "https://github.com/grpc/grpc-java.git",
|
||||
tag = "v1.23.0",
|
||||
strip_prefix = "grpc-java-1.36.0",
|
||||
url = "https://github.com/grpc/grpc-java/archive/v1.36.0.zip",
|
||||
)
|
||||
|
||||
# GRPC Core
|
||||
load("@io_grpc_grpc_java//:repositories.bzl", "IO_GRPC_GRPC_JAVA_ARTIFACTS")
|
||||
load("@io_grpc_grpc_java//:repositories.bzl", "IO_GRPC_GRPC_JAVA_OVERRIDE_TARGETS")
|
||||
|
||||
maven_install(
|
||||
name = "grpc_core",
|
||||
artifacts = ["io.grpc:grpc-core:1.23.0"],
|
||||
artifacts = IO_GRPC_GRPC_JAVA_ARTIFACTS,
|
||||
generate_compat_repositories = True,
|
||||
override_targets = IO_GRPC_GRPC_JAVA_OVERRIDE_TARGETS,
|
||||
repositories = [
|
||||
"https://jcenter.bintray.com",
|
||||
"https://maven.google.com",
|
||||
"https://repo1.maven.org/maven2",
|
||||
"https://repo.maven.apache.org/maven2/",
|
||||
],
|
||||
)
|
||||
|
||||
# GRPC Netty
|
||||
maven_install(
|
||||
name = "grpc_netty",
|
||||
artifacts = ["io.grpc:grpc-netty:1.23.0"],
|
||||
repositories = [
|
||||
"https://jcenter.bintray.com",
|
||||
"https://maven.google.com",
|
||||
"https://repo1.maven.org/maven2",
|
||||
],
|
||||
)
|
||||
load("@maven//:compat.bzl", "compat_repositories")
|
||||
compat_repositories()
|
||||
|
||||
maven_install(
|
||||
name = "grpc_netty_all",
|
||||
artifacts = ["io.netty:netty-all:4.1.41.Final"],
|
||||
repositories = [
|
||||
"https://jcenter.bintray.com",
|
||||
"https://maven.google.com",
|
||||
"https://repo1.maven.org/maven2",
|
||||
],
|
||||
)
|
||||
|
||||
# GRPC Stub
|
||||
maven_install(
|
||||
name = "grpc_stub",
|
||||
artifacts = ["io.grpc:grpc-stub:1.23.0"],
|
||||
repositories = [
|
||||
"https://jcenter.bintray.com",
|
||||
"https://maven.google.com",
|
||||
"https://repo1.maven.org/maven2",
|
||||
],
|
||||
)
|
||||
|
||||
# GRPC Contenxt
|
||||
maven_install(
|
||||
name = "grpc_context",
|
||||
artifacts = ["io.grpc:grpc-context:1.18.0"],
|
||||
repositories = [
|
||||
"https://jcenter.bintray.com",
|
||||
"https://maven.google.com",
|
||||
"https://repo1.maven.org/maven2",
|
||||
],
|
||||
)
|
||||
load("@io_grpc_grpc_java//:repositories.bzl", "grpc_java_repositories")
|
||||
grpc_java_repositories()
|
||||
|
||||
# GSON
|
||||
maven_install(
|
||||
@@ -174,80 +138,6 @@ maven_install(
|
||||
],
|
||||
)
|
||||
|
||||
# Netty TcNative (for GRPC)
|
||||
maven_install(
|
||||
name = "netty_tcnative",
|
||||
artifacts = ["io.netty:netty-tcnative:2.0.25.Final"],
|
||||
repositories = [
|
||||
"https://jcenter.bintray.com",
|
||||
"https://maven.google.com",
|
||||
"https://repo1.maven.org/maven2",
|
||||
],
|
||||
)
|
||||
|
||||
# Netty BoringSSL
|
||||
maven_install(
|
||||
name = "netty_boringssl",
|
||||
artifacts = ["io.netty:netty-tcnative-boringssl-static:2.0.25.Final"],
|
||||
repositories = [
|
||||
"https://jcenter.bintray.com",
|
||||
"https://maven.google.com",
|
||||
"https://repo1.maven.org/maven2",
|
||||
],
|
||||
)
|
||||
|
||||
# Open Census (for GRPC)
|
||||
maven_install(
|
||||
name = "open_census_api",
|
||||
artifacts = ["io.opencensus:opencensus-api:0.24.0"],
|
||||
repositories = [
|
||||
"https://jcenter.bintray.com",
|
||||
"https://maven.google.com",
|
||||
"https://repo1.maven.org/maven2",
|
||||
],
|
||||
)
|
||||
|
||||
maven_install(
|
||||
name = "open_census",
|
||||
artifacts = ["io.opencensus:opencensus-contrib-http-jetty-client:0.19.0"],
|
||||
repositories = [
|
||||
"https://jcenter.bintray.com",
|
||||
"https://maven.google.com",
|
||||
"https://repo1.maven.org/maven2",
|
||||
],
|
||||
)
|
||||
|
||||
maven_install(
|
||||
name = "open_census_util",
|
||||
artifacts = ["io.opencensus:opencensus-contrib-http-util:0.19.0"],
|
||||
repositories = [
|
||||
"https://jcenter.bintray.com",
|
||||
"https://maven.google.com",
|
||||
"https://repo1.maven.org/maven2",
|
||||
],
|
||||
)
|
||||
|
||||
maven_install(
|
||||
name = "open_census_grpc_metrics",
|
||||
artifacts = ["io.opencensus:opencensus-contrib-grpc-metrics:0.24.0"],
|
||||
repositories = [
|
||||
"https://jcenter.bintray.com",
|
||||
"https://maven.google.com",
|
||||
"https://repo1.maven.org/maven2",
|
||||
],
|
||||
)
|
||||
|
||||
# Perfmark (GRPC)
|
||||
maven_install(
|
||||
name = "io_perfmark_api",
|
||||
artifacts = ["io.perfmark:perfmark-api:0.17.0"],
|
||||
repositories = [
|
||||
"https://jcenter.bintray.com",
|
||||
"https://maven.google.com",
|
||||
"https://repo1.maven.org/maven2",
|
||||
],
|
||||
)
|
||||
|
||||
# Google Protobuf Protos
|
||||
PROTOBUF_BUILD_FILE = """
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
@@ -361,9 +251,5 @@ bind(
|
||||
actual = "@com_google_protobuf//:protobuf_java",
|
||||
)
|
||||
|
||||
# Loads necessary bazel rules for later consumption.
|
||||
load("@io_grpc_grpc_java//:repositories.bzl", "grpc_java_repositories")
|
||||
grpc_java_repositories()
|
||||
|
||||
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
|
||||
protobuf_deps()
|
||||
|
||||
Reference in New Issue
Block a user