blob: 3e326407a623b82dff2cf969862840ae0296f04d [file] [log] [blame]
David Ostrovsky22c45b32014-02-23 22:22:26 +01001include_defs('//bucklets/maven_jar.bucklet')
2
Dave Borowitzdb9c41d2014-03-11 16:15:39 -07003VERS = '3.3.0.201403021825-r'
David Ostrovsky22c45b32014-02-23 22:22:26 +01004
5maven_jar(
6 name = 'jgit',
7 id = 'org.eclipse.jgit:org.eclipse.jgit:' + VERS,
Dave Borowitzdb9c41d2014-03-11 16:15:39 -07008 sha1 = '01aa346a5040bd541502dfb40e83edb1d1981c67',
David Ostrovsky22c45b32014-02-23 22:22:26 +01009 unsign = True,
10 deps = [':ewah'],
11 exclude = [
12 'META-INF/eclipse.inf',
13 'about.html',
14 'plugin.properties',
15 ],
16)
17
18maven_jar(
19 name = 'jgit-servlet',
20 id = 'org.eclipse.jgit:org.eclipse.jgit.http.server:' + VERS,
Dave Borowitzdb9c41d2014-03-11 16:15:39 -070021 sha1 = 'e141488647b80ef25d8d3febffd434a5e2a0a817',
David Ostrovsky22c45b32014-02-23 22:22:26 +010022 deps = [':jgit'],
23 unsign = True,
24 exclude = [
25 'about.html',
26 'plugin.properties',
27 ],
28)
29
30java_library(
31 name = 'jgit-archive',
32 exported_deps = [
33 ':jgit-archive_library',
34 ':commons-compress',
35 ':tukaani-xz',
36 ],
37 visibility = ['PUBLIC'],
38)
39
40maven_jar(
41 name = 'jgit-archive_library',
42 id = 'org.eclipse.jgit:org.eclipse.jgit.archive:' + VERS,
Dave Borowitzdb9c41d2014-03-11 16:15:39 -070043 sha1 = '87b2b50eb6e7a18a70fd684cc173f3bd2d8e24e8',
David Ostrovsky22c45b32014-02-23 22:22:26 +010044 deps = [':jgit'],
45 unsign = True,
46 exclude = [
47 'about.html',
48 'plugin.properties',
49 ],
50)
51
52maven_jar(
53 name = 'junit',
54 id = 'org.eclipse.jgit:org.eclipse.jgit.junit:' + VERS,
Dave Borowitzdb9c41d2014-03-11 16:15:39 -070055 sha1 = '13d0303a669bc2c44db69f8581e3634412b70eed',
David Ostrovsky22c45b32014-02-23 22:22:26 +010056 unsign = True,
57 deps = [':jgit'],
58)
59
60maven_jar(
61 name = 'ewah',
62 id = 'com.googlecode.javaewah:JavaEWAH:0.7.9',
63 sha1 = 'eceaf316a8faf0e794296ebe158ae110c7d72a5a',
64)
65
66maven_jar(
67 name = 'commons-compress',
68 id = 'org.apache.commons:commons-compress:1.7',
69 sha1 = 'ab365c96ee9bc88adcc6fa40d185c8e15a31410d',
70 exclude = ['META-INF/LICENSE.txt', 'META-INF/NOTICE.txt'],
71 visibility = ['//lib/jgit:jgit-archive'],
72)
73
74maven_jar(
75 name = 'tukaani-xz',
76 id = 'org.tukaani:xz:1.4',
77 sha1 = '18a9a2ce6abf32ea1b5fd31dae5210ad93f4e5e3',
78 attach_source = False,
79 visibility = ['//lib/jgit:jgit-archive'],
80)