summaryrefslogtreecommitdiffstats
path: root/BUCK
blob: fca0e8a7f4614ed37e75b8397ce631e6c9277d6d (plain)
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
java_library(
  name = 'jgit',
  exported_deps = ['//org.eclipse.jgit:jgit'],
  visibility = ['PUBLIC'],
)

java_library(
  name = 'jgit_src',
  exported_deps = ['//org.eclipse.jgit:jgit_src'],
  visibility = ['PUBLIC'],
)

java_library(
  name = 'jgit-servlet',
  exported_deps = [
    ':jgit',
    '//org.eclipse.jgit.http.server:jgit-servlet'
  ],
  visibility = ['PUBLIC'],
)

java_library(
  name = 'jgit-archive',
  exported_deps = [
    ':jgit',
    '//org.eclipse.jgit.archive:jgit-archive'
  ],
  visibility = ['PUBLIC'],
)

java_library(
  name = 'junit',
  exported_deps = [
    ':jgit',
    '//org.eclipse.jgit.junit:junit'
  ],
  visibility = ['PUBLIC'],
)

genrule(
  name = 'jgit_bin',
  cmd = 'ln -s $(location //org.eclipse.jgit.pgm:jgit) $OUT',
  out = 'jgit_bin',
)