|
9 | 9 | # WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
|
10 | 10 |
|
11 | 11 | workspace(name = "rules_swiftnav")
|
| 12 | + |
| 13 | +# Everything below this comment is for buildifier |
| 14 | + |
| 15 | +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
| 16 | + |
| 17 | +# buildifier is written in Go and hence needs rules_go to be built. |
| 18 | +# See https://github.com/bazelbuild/rules_go for the up to date setup instructions. |
| 19 | +http_archive( |
| 20 | + name = "io_bazel_rules_go", |
| 21 | + sha256 = "d6b2513456fe2229811da7eb67a444be7785f5323c6708b38d851d2b51e54d83", |
| 22 | + urls = [ |
| 23 | + "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.30.0/rules_go-v0.30.0.zip", |
| 24 | + "https://github.com/bazelbuild/rules_go/releases/download/v0.30.0/rules_go-v0.30.0.zip", |
| 25 | + ], |
| 26 | +) |
| 27 | + |
| 28 | +load("@io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies") |
| 29 | + |
| 30 | +go_rules_dependencies() |
| 31 | + |
| 32 | +load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains") |
| 33 | + |
| 34 | +go_register_toolchains(version = "1.17.2") |
| 35 | + |
| 36 | +http_archive( |
| 37 | + name = "bazel_gazelle", |
| 38 | + sha256 = "de69a09dc70417580aabf20a28619bb3ef60d038470c7cf8442fafcf627c21cb", |
| 39 | + urls = [ |
| 40 | + "https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.24.0/bazel-gazelle-v0.24.0.tar.gz", |
| 41 | + "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.24.0/bazel-gazelle-v0.24.0.tar.gz", |
| 42 | + ], |
| 43 | +) |
| 44 | + |
| 45 | +load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies") |
| 46 | + |
| 47 | +# If you use WORKSPACE.bazel, use the following line instead of the bare gazelle_dependencies(): |
| 48 | +# gazelle_dependencies(go_repository_default_config = "@//:WORKSPACE.bazel") |
| 49 | +gazelle_dependencies() |
| 50 | + |
| 51 | +http_archive( |
| 52 | + name = "com_google_protobuf", |
| 53 | + sha256 = "3bd7828aa5af4b13b99c191e8b1e884ebfa9ad371b0ce264605d347f135d2568", |
| 54 | + strip_prefix = "protobuf-3.19.4", |
| 55 | + urls = [ |
| 56 | + "https://github.com/protocolbuffers/protobuf/archive/v3.19.4.tar.gz", |
| 57 | + ], |
| 58 | +) |
| 59 | + |
| 60 | +load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") |
| 61 | + |
| 62 | +protobuf_deps() |
| 63 | + |
| 64 | +http_archive( |
| 65 | + name = "com_github_bazelbuild_buildtools", |
| 66 | + sha256 = "ae34c344514e08c23e90da0e2d6cb700fcd28e80c02e23e4d5715dddcb42f7b3", |
| 67 | + strip_prefix = "buildtools-4.2.2", |
| 68 | + urls = [ |
| 69 | + "https://github.com/bazelbuild/buildtools/archive/refs/tags/4.2.2.tar.gz", |
| 70 | + ], |
| 71 | +) |
0 commit comments