-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathWORKSPACE
51 lines (38 loc) · 1.03 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
40
41
42
43
44
45
46
47
48
49
50
51
workspace(
name = "task",
)
load("//:bazlets.bzl", "load_bazlets")
load_bazlets(
commit = "f930de7dc62e319c82d2afc8f10efd1290fd62b8",
#local_path = "/home/<user>/projects/bazlets",
)
# Polymer dependencies
load(
"@com_googlesource_gerrit_bazlets//:gerrit_polymer.bzl",
"gerrit_polymer",
)
gerrit_polymer()
load("@build_bazel_rules_nodejs//:repositories.bzl", "build_bazel_rules_nodejs_dependencies")
build_bazel_rules_nodejs_dependencies()
load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories", "yarn_install")
node_repositories(
node_version = "17.9.1",
yarn_version = "1.22.19",
)
yarn_install(
name = "npm",
exports_directories_only = False,
frozen_lockfile = False,
package_json = "//:package.json",
symlink_node_modules = True,
yarn_lock = "//:yarn.lock",
)
# Load plugin API
load(
"@com_googlesource_gerrit_bazlets//:gerrit_api.bzl",
"gerrit_api",
)
# Release Plugin API
gerrit_api()
load("//:external_plugin_deps.bzl", "external_plugin_deps")
external_plugin_deps()