forked from googlecodelabs/tools
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
31 lines (24 loc) · 1.05 KB
/
WORKSPACE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
workspace(name="googlecodelabs_tools")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name="io_bazel_rules_go",
sha256="91585017debb61982f7054c9688857a2ad1fd823fc3f9cb05048b0025c47d023",
urls=[
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.42.0/rules_go-v0.42.0.zip",
"https://github.com/bazelbuild/rules_go/releases/download/v0.42.0/rules_go-v0.42.0.zip",
],
)
http_archive(
name="gazelle",
sha256="d3fa66a39028e97d76f9e2db8f1b0c11c099e8e01bf363a923074784e451f809",
urls=[
"https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.33.0/bazel-gazelle-v0.33.0.tar.gz",
"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.33.0/bazel-gazelle-v0.33.0.tar.gz",
],
)
load("@io_bazel_rules_go//go:deps.bzl",
"go_register_toolchains", "go_rules_dependencies")
load("@gazelle//:deps.bzl", "gazelle_dependencies")
go_rules_dependencies()
go_register_toolchains(version="1.20.7")
gazelle_dependencies()