-
Notifications
You must be signed in to change notification settings - Fork 37
/
WORKSPACE
95 lines (61 loc) · 2.71 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
workspace(name = "greyhound")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
skylib_version = "0.8.0"
http_archive(
name = "bazel_skylib",
sha256 = "2ef429f5d7ce7111263289644d233707dba35e39696377ebab8b0bc701f7818e",
type = "tar.gz",
url = "https://github.com/bazelbuild/bazel-skylib/releases/download/{}/bazel-skylib.{}.tar.gz".format(skylib_version, skylib_version),
)
load("//dependencies/google_protobuf:google_protobuf.bzl", "google_protobuf")
google_protobuf()
load("@greyhound//central-sync:dependencies.bzl", "rules_jvm_external", "rules_kotlin", "vaticle_bazel_distribution")
rules_kotlin()
rules_jvm_external()
load("@io_bazel_rules_kotlin//kotlin:kotlin.bzl", "kotlin_repositories", "kt_register_toolchains")
kotlin_repositories()
kt_register_toolchains()
vaticle_bazel_distribution()
load("@vaticle_bazel_distribution//maven:deps.bzl", "maven_artifacts_with_versions")
RULES_JVM_EXTERNAL_TAG = "3.1"
RULES_JVM_EXTERNAL_SHA = "e246373de2353f3d34d35814947aa8b7d0dd1a58c2f7a6c41cfeaff3007c2d14"
http_archive(
name = "rules_jvm_external",
sha256 = RULES_JVM_EXTERNAL_SHA,
strip_prefix = "rules_jvm_external-%s" % RULES_JVM_EXTERNAL_TAG,
url = "https://github.com/bazelbuild/rules_jvm_external/archive/%s.zip" % RULES_JVM_EXTERNAL_TAG,
)
load("//:third_party.bzl", "dependencies")
dependencies()
load("@maven//:defs.bzl", "pinned_maven_install")
pinned_maven_install()
load("@maven//:compat.bzl", "compat_repositories")
compat_repositories()
load("//dependencies/rules_scala:rules_scala.bzl", "rules_scala")
rules_scala()
load("@io_bazel_rules_scala//:scala_config.bzl", "scala_config")
scala_config()
# Following binds are needed because test macros refer to rules_scala internal labels
bind(
name = "io_bazel_rules_scala/dependency/junit/junit",
actual = "@maven//:junit_junit",
)
bind(
name = "io_bazel_rules_scala/dependency/hamcrest/hamcrest_core",
actual = "@maven//:org_hamcrest_hamcrest_core",
)
register_toolchains(
"//dependencies/rules_scala:scala_toolchain",
"//dependencies/rules_scala:scala_test_toolchain",
)
http_archive(
name = "io_buildbuddy_buildbuddy_toolchain",
sha256 = "656985ebceaa0116adcae081b19becf41f246893759ac41f86267cb2220f966e",
strip_prefix = "buildbuddy-toolchain-2a9769e75878519bf48c12334214501d4859154b",
urls = ["https://github.com/buildbuddy-io/buildbuddy-toolchain/archive/2a9769e75878519bf48c12334214501d4859154b.tar.gz"],
)
load("@io_buildbuddy_buildbuddy_toolchain//:deps.bzl", "buildbuddy_deps")
buildbuddy_deps()
load("@io_buildbuddy_buildbuddy_toolchain//:rules.bzl", "buildbuddy")
buildbuddy(name = "buildbuddy_toolchain")