Use Ranch 2.1.0 in bazel build

Matches 063d32626d
This commit is contained in:
Philip Kuryloski 2021-09-10 14:21:57 +02:00
parent 13ac078746
commit 5fd9d1f638
6 changed files with 17 additions and 5 deletions

View File

@ -32,7 +32,7 @@ genrule(
app_file(
name = "app_file",
app_name = "ranch",
app_src = ["src/ranch.app.src"],
app_version = "2.1.0",
modules = [":first_beam_files", ":beam_files"],
)

View File

@ -40,7 +40,12 @@ rabbitmq_lib(
deps = DEPS,
)
xref(tags = ["xref"])
xref(
additional_libs = [
"@ranch//:bazel_erlang_lib",
],
tags = ["xref"],
)
plt(
name = "base_plt",

View File

@ -28,6 +28,7 @@ rabbitmq_lib(
xref(
additional_libs = [
"@ranch//:bazel_erlang_lib",
"@systemd//:bazel_erlang_lib",
],
tags = ["xref"],

View File

@ -178,7 +178,12 @@ bazel_erlang_lib(
deps = DEPS + RUNTIME_DEPS,
)
xref(tags = ["xref"])
xref(
additional_libs = [
"@ranch//:bazel_erlang_lib",
],
tags = ["xref"],
)
plt(
name = "base_plt",

View File

@ -38,6 +38,7 @@ xref(
"//deps/rabbit_common:bazel_erlang_lib",
"@credentials_obfuscation//:bazel_erlang_lib",
"@jsx//:bazel_erlang_lib",
"@ranch//:bazel_erlang_lib",
"@recon//:bazel_erlang_lib",
],
tags = ["xref"],

View File

@ -224,8 +224,8 @@ erlang_lib(
hex_archive(
name = "ranch",
version = "2.0.0",
sha256 = "c20a4840c7d6623c19812d3a7c828b2f1bd153ef0f124cb69c54fe51d8a42ae0",
version = "2.1.0",
sha256 = "244ee3fa2a6175270d8e1fc59024fd9dbc76294a321057de8f803b1479e76916",
build_file = rabbitmq_workspace + "//:BUILD.ranch",
)