forked from bolinfest/plovr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUCK
61 lines (57 loc) · 1.56 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
java_binary(
name = 'plovr',
deps = [':plovr-lib'],
main_class = 'org.plovr.cli.Main')
java_library(
name = 'plovr-lib',
srcs = glob(['src/**/*.java']),
resources = glob([
'src/**/*.js',
'src/**/*.soy',
'src/**/*.ts',
]) + [
'library_manifest.txt',
'third_party_manifest.txt'
],
source = '7',
target = '7',
deps = [
'//closure/closure-compiler:args4j',
'//closure/closure-compiler:closure-compiler',
'//closure/closure-compiler:gson',
'//closure/closure-compiler:guava',
'//closure/closure-compiler:jsr305',
'//closure/closure-compiler:protobuf',
'//closure/closure-library:closure-library',
'//closure/closure-stylesheets:closure-stylesheets',
'//closure/closure-templates:closure-templates',
'//closure/closure-templates:guice',
'//closure/closure-templates:guice-assistedinject',
'//closure/closure-templates:guice-multibindings',
':selenium',
],
)
java_test(
name = 'test',
srcs = glob(['test/**/*.java']),
resources = glob(['test/**/*.js']),
deps = [
'//closure/closure-compiler:closure-compiler',
'//closure/closure-compiler:jsr305',
'//closure/closure-compiler:junit',
'//closure/closure-stylesheets:closure-stylesheets',
'//closure/closure-templates:closure-templates',
'//closure/closure-templates:guava',
':mockito',
':plovr-lib',
'//closure/closure-compiler:gson',
],
)
prebuilt_jar(
name = 'mockito',
binary_jar = 'lib/mockito-core-1.10.19.jar',
)
prebuilt_jar(
name = 'selenium',
binary_jar = 'lib/selenium-java-2.21.0.jar',
)