-
Notifications
You must be signed in to change notification settings - Fork 3
/
BUILD
35 lines (30 loc) · 859 Bytes
/
BUILD
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
load("@rules_scala3//deps:scala_deps.bzl", "scala_deps")
load("@rules_scala3//rules:scala.bzl", "configure_zinc_scala")
filegroup(
name = "dependencies",
srcs = ["Dependencies.scala"],
visibility = ["//visibility:public"],
)
scala_deps(
name = "scala_deps",
src = "//:dependencies",
dependencies = "rules_scala3.Dependencies",
)
runtime_classpath_3 = [
"@scala3_library//jar",
"@scala_library_2_13//jar",
]
compiler_classpath_3 = runtime_classpath_3 + [
"@scala3_compiler//jar",
"@scala3_interfaces//jar",
"@scala_tasty_core_3//jar",
"@scala_asm//jar",
]
configure_zinc_scala(
name = "zinc_3",
compiler_bridge = "@scala3_sbt_bridge//jar",
compiler_classpath = compiler_classpath_3,
runtime_classpath = runtime_classpath_3,
version = "3.6.1",
visibility = ["//visibility:public"],
)