...

Text file src/github.com/grpc-ecosystem/grpc-gateway/WORKSPACE

Documentation: github.com/grpc-ecosystem/grpc-gateway

     1workspace(name = "grpc_ecosystem_grpc_gateway")
     2
     3load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
     4
     5http_archive(
     6    name = "bazel_skylib",
     7    sha256 = "1c531376ac7e5a180e0237938a2536de0c54d93f5c278634818e0efc952dd56c",
     8    urls = [
     9        "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz",
    10        "https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz",
    11    ],
    12)
    13
    14load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
    15
    16bazel_skylib_workspace()
    17
    18http_archive(
    19    name = "rules_proto",
    20    sha256 = "602e7161d9195e50246177e7c55b2f39950a9cf7366f74ed5f22fd45750cd208",
    21    strip_prefix = "rules_proto-97d8af4dc474595af3900dd85cb3a29ad28cc313",
    22    urls = [
    23        "https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz",
    24        "https://github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz",
    25    ],
    26)
    27
    28load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")
    29
    30rules_proto_dependencies()
    31
    32rules_proto_toolchains()
    33
    34http_archive(
    35    name = "io_bazel_rules_go",
    36    sha256 = "7b9bbe3ea1fccb46dcfa6c3f3e29ba7ec740d8733370e21cdc8937467b4a4349",
    37    urls = [
    38        "https://storage.googleapis.com/bazel-mirror/github.com/bazelbuild/rules_go/releases/download/v0.22.4/rules_go-v0.22.4.tar.gz",
    39        "https://github.com/bazelbuild/rules_go/releases/download/v0.22.4/rules_go-v0.22.4.tar.gz",
    40    ],
    41)
    42
    43http_archive(
    44    name = "bazel_gazelle",
    45    sha256 = "b85f48fa105c4403326e9525ad2b2cc437babaa6e15a3fc0b1dbab0ab064bc7c",
    46    urls = [
    47        "https://storage.googleapis.com/bazel-mirror/github.com/bazelbuild/bazel-gazelle/releases/download/v0.22.2/bazel-gazelle-v0.22.2.tar.gz",
    48        "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.22.2/bazel-gazelle-v0.22.2.tar.gz",
    49    ],
    50)
    51
    52load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
    53
    54go_rules_dependencies()
    55
    56go_register_toolchains()
    57
    58load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
    59
    60gazelle_dependencies()
    61
    62# Use gazelle to declare Go dependencies in Bazel.
    63# gazelle:repository_macro repositories.bzl%go_repositories
    64
    65load("//:repositories.bzl", "go_repositories")
    66
    67go_repositories()
    68
    69load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
    70
    71git_repository(
    72    name = "com_google_protobuf",
    73    commit = "09745575a923640154bcf307fba8aedff47f240a",
    74    remote = "https://github.com/protocolbuffers/protobuf",
    75    shallow_since = "1558721209 -0700",
    76)
    77
    78load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
    79
    80protobuf_deps()
    81
    82http_archive(
    83    name = "com_github_bazelbuild_buildtools",
    84    sha256 = "a02ba93b96a8151b5d8d3466580f6c1f7e77212c4eb181cba53eb2cae7752a23",
    85    strip_prefix = "buildtools-3.5.0",
    86    urls = ["https://github.com/bazelbuild/buildtools/archive/3.5.0.tar.gz"],
    87)
    88
    89load("@com_github_bazelbuild_buildtools//buildifier:deps.bzl", "buildifier_dependencies")
    90
    91buildifier_dependencies()

View as plain text