forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.tools
50 lines (43 loc) · 1.69 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
44
45
46
47
48
49
50
# JVM artifacts that Pants itself depends on.
# http://pantsbuild.github.io/dev_tasks.html#jvm-tool-bootstrapping
# common rev for all org.scala-lang%* artifacts
SCALA_REV = '2.10.4'
jar_library(name = 'scala-compiler',
jars = [
jar(org = 'org.scala-lang', name = 'scala-compiler', rev = SCALA_REV),
])
jar_library(name = 'scala-library',
jars = [
jar(org = 'org.scala-lang', name = 'scala-library', rev = SCALA_REV),
])
jar_library(name = 'scala-repl',
jars = [
jar(org = 'org.scala-lang', name = 'jline', rev = SCALA_REV, intransitive = True),
],
dependencies = [
':scala-compiler',
':scala-library',
])
jar_library(name = 'scalastyle',
jars = [
jar(org='org.scalastyle', name='scalastyle_2.10', rev='0.3.2')
])
jar_library(name = 'scrooge-gen',
jars = [
jar(org='com.twitter', name='scrooge-generator_2.10', rev='3.20.0')
# scrooge requires libthrift 0.5.0-1 which is not available on
# the default maven repos. Force scrooge to use the lib thirft used
# by pants: 3rdparty:thrift
.exclude(org = 'org.apache.thrift', name = 'libthrift')
],
dependencies = [
'3rdparty:thrift',
])
jar_library(name = 'scrooge-linter',
jars = [
jar(org='com.twitter', name='scrooge-linter_2.10', rev='3.20.0')
.exclude(org = 'org.apache.thrift', name = 'libthrift')
],
dependencies = [
'3rdparty:thrift',
])