|
| 1 | +# Copyright 2021 Google LLC |
| 2 | +# |
| 3 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | +# you may not use this file except in compliance with the License. |
| 5 | +# You may obtain a copy of the License at |
| 6 | +# |
| 7 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +# |
| 9 | +# Unless required by applicable law or agreed to in writing, software |
| 10 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | +# See the License for the specific language governing permissions and |
| 13 | +# limitations under the License. |
| 14 | + |
| 15 | +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
| 16 | + |
| 17 | +http_archive( |
| 18 | + name = "io_bazel_rules_go", |
| 19 | + sha256 = "8e968b5fcea1d2d64071872b12737bbb5514524ee5f0a4f54f5920266c261acb", |
| 20 | + urls = [ |
| 21 | + "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.28.0/rules_go-v0.28.0.zip", |
| 22 | + "https://github.com/bazelbuild/rules_go/releases/download/v0.28.0/rules_go-v0.28.0.zip", |
| 23 | + ], |
| 24 | +) |
| 25 | + |
| 26 | +http_archive( |
| 27 | + name = "bazel_gazelle", |
| 28 | + sha256 = "62ca106be173579c0a167deb23358fdfe71ffa1e4cfdddf5582af26520f1c66f", |
| 29 | + urls = [ |
| 30 | + "https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.23.0/bazel-gazelle-v0.23.0.tar.gz", |
| 31 | + "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.23.0/bazel-gazelle-v0.23.0.tar.gz", |
| 32 | + ], |
| 33 | +) |
| 34 | + |
| 35 | +load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") |
| 36 | +load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository") |
| 37 | + |
| 38 | +go_repository( |
| 39 | + name = "com_github_ghodss_yaml", |
| 40 | + importpath = "github.com/ghodss/yaml", |
| 41 | + sum = "h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk=", |
| 42 | + version = "v1.0.0", |
| 43 | +) |
| 44 | + |
| 45 | +go_repository( |
| 46 | + name = "in_gopkg_check_v1", |
| 47 | + importpath = "gopkg.in/check.v1", |
| 48 | + sum = "h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=", |
| 49 | + version = "v0.0.0-20161208181325-20d25e280405", |
| 50 | +) |
| 51 | + |
| 52 | +go_repository( |
| 53 | + name = "in_gopkg_yaml_v2", |
| 54 | + importpath = "gopkg.in/yaml.v2", |
| 55 | + sum = "h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=", |
| 56 | + version = "v2.4.0", |
| 57 | +) |
| 58 | + |
| 59 | +go_rules_dependencies() |
| 60 | + |
| 61 | +go_register_toolchains(version = "1.16.5") |
| 62 | + |
| 63 | +gazelle_dependencies() |
0 commit comments