-
Notifications
You must be signed in to change notification settings - Fork 49
/
BUCK
45 lines (42 loc) · 914 Bytes
/
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
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 = [
'//tools/imports:revs',
':third-party-support-libs',
'//third-party:COMPILE',
'//closure/closure-library:closure-library',
],
)
java_library(
name = 'third-party-support-libs',
srcs = [],
resources = [
'//third-party/javascript:checks.js',
'//third-party/javascript:soyutils_usegoog.js',
],
resources_root = './third-party')
java_test(
name = 'test',
srcs = glob(['test/**/*.java']),
resources = glob(['test/**/*.js']),
deps = [
':plovr-lib',
'//third-party:COMPILE',
'//third-party:TEST',
],
)