-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWORKSPACE
39 lines (28 loc) · 1.11 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
32
33
34
35
36
37
38
39
# Declare the local Bazel workspace.
workspace(
# If your ruleset is "official"
# (i.e. is in the bazelbuild GitHub org)
# then this should just be named "rules_dart"
# see https://docs.bazel.build/versions/main/skylark/deploying.html#workspace
name = "dev_bivens_rules_dart",
)
load(":internal_deps.bzl", "rules_dart_internal_deps")
# Fetch deps needed only locally for development
rules_dart_internal_deps()
load("//dart:repositories.bzl", "dart_register_toolchains", "rules_dart_dependencies")
# Fetch dependencies which users need as well
rules_dart_dependencies()
dart_register_toolchains(
name = "dart2_18",
dart_version = "2.18.2",
)
# For running our own unit tests
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
bazel_skylib_workspace()
############################################
# Gazelle, for generating bzl_library targets
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
go_rules_dependencies()
go_register_toolchains(version = "1.19.4")
gazelle_dependencies()