forked from pantsbuild/intellij-pants-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.tools
44 lines (37 loc) · 1.41 KB
/
BUILD.tools
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
SCALA_REV='2.12.8'
# scala-compiler needs explicit dependencies on scala-library and scala-reflect (DPB-4447)
jar_library(name = 'scalac',
jars = [
jar(org = 'org.scala-lang', name = 'scala-compiler', rev = SCALA_REV),
],
dependencies=[
':scala-reflect',
':scala-library',
])
jar_library(name = 'scala-library',
jars = [
jar(org = 'org.scala-lang', name = 'scala-library', rev = SCALA_REV),
],
# Zinc never reports usage of `scala-library`, because it injects it onto the
# classpath itself.
# Scala runtime will be supplied by intellij scala plugin which pants plugin depends on,
# so there is no need to carry it around.
scope='compile test',)
target(name = 'scala-repl',
dependencies=[
':scalac',
':scala-reflect',
':scala-library',
])
jar_library(name = 'scala-actors',
jars = [
jar(org = 'org.scala-lang', name = 'scala-actors', rev = SCALA_REV),
])
jar_library(name = 'scala-reflect',
jars = [
jar(org = 'org.scala-lang', name = 'scala-reflect', rev = SCALA_REV, intransitive=True),
])
jar_library(name = 'scalap',
jars = [
jar(org = 'org.scala-lang', name = 'scalap', rev = SCALA_REV),
])