forked from bolinfest/plovr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUCK
79 lines (72 loc) · 1.63 KB
/
BUCK
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
java_library(
name = 'plovr',
srcs = glob(['src/**/*.java']),
resources = glob([
'src/**/*.js',
'src/**/*.soy',
'src/**/*.ts',
]),
source = '7',
target = '7',
deps = [
':gson',
':guava',
':selenium',
'//closure/closure-compiler:args4j',
'//closure/closure-compiler:closure-compiler',
'//closure/closure-compiler:json',
'//closure/closure-compiler:jsr305',
'//closure/closure-compiler:protobuf',
'//closure/closure-compiler:rhino',
'//closure/closure-stylesheets:closure-stylesheets',
'//closure/closure-templates:closure-templates',
'//closure/closure-templates:guice',
'//closure/closure-templates:guice-multibindings',
],
)
java_test(
name = 'test',
srcs = glob(['test/**/*.java']),
resources = glob(['test/**/*.js']),
deps = [
':gson',
':junit',
':plovr',
':guava',
'//closure/closure-compiler:closure-compiler',
'//closure/closure-compiler:jsr305',
'//closure/closure-stylesheets:closure-stylesheets',
'//closure/closure-templates:closure-templates',
],
)
prebuilt_jar(
name = 'gson',
binary_jar = 'lib/gson-2.2.2.jar',
)
prebuilt_jar(
name = 'guava',
binary_jar = 'lib/guava-15.0.jar',
)
prebuilt_jar(
name = 'junit',
binary_jar = 'lib/junit-4.11.jar',
deps = [
':hamcrest-core',
':hamcrest-library',
],
)
prebuilt_jar(
name = 'hamcrest-core',
binary_jar = 'lib/hamcrest-core-1.3.jar',
)
prebuilt_jar(
name = 'hamcrest-library',
binary_jar = 'lib/hamcrest-library-1.3.jar',
deps = [
':hamcrest-core',
],
)
prebuilt_jar(
name = 'selenium',
binary_jar = 'lib/selenium-java-2.21.0.jar',
)