
Since JGit 3.1 archive command was implemented. Add it to download drop down as new line. The following libraries are introduced in this change: * jgit-archive (Apache 2) * commons-compress (Apache 2) * tukaani-xz (Public domain) Change-Id: I5f61aac8c434414c73585a9320e84f4430dd111d
86 lines
1.9 KiB
Python
86 lines
1.9 KiB
Python
include_defs('//lib/maven.defs')
|
|
|
|
REPO = GERRIT
|
|
VERS = '3.2.0.201312181205-r.61-gf2f24a3'
|
|
|
|
maven_jar(
|
|
name = 'jgit',
|
|
id = 'org.eclipse.jgit:org.eclipse.jgit:' + VERS,
|
|
bin_sha1 = '79c1822ff2a2bbf8c1b6571a6bb9ae9583e01842',
|
|
src_sha1 = 'b84e0ee601c13648e1679b1a4bffaeef13d651b1',
|
|
license = 'jgit',
|
|
repository = REPO,
|
|
unsign = True,
|
|
deps = [':ewah'],
|
|
exclude = [
|
|
'META-INF/eclipse.inf',
|
|
'about.html',
|
|
'plugin.properties',
|
|
],
|
|
)
|
|
|
|
maven_jar(
|
|
name = 'jgit-servlet',
|
|
id = 'org.eclipse.jgit:org.eclipse.jgit.http.server:' + VERS,
|
|
sha1 = '53cef99190c1b7889a82545c632efdcfa5615ae1',
|
|
license = 'jgit',
|
|
repository = REPO,
|
|
deps = [':jgit'],
|
|
unsign = True,
|
|
exclude = [
|
|
'about.html',
|
|
'plugin.properties',
|
|
],
|
|
)
|
|
|
|
maven_jar(
|
|
name = 'jgit-archive',
|
|
id = 'org.eclipse.jgit:org.eclipse.jgit.archive:' + VERS,
|
|
sha1 = 'c645b284344ec9791404f6fd0e04f6dbedb58b7d',
|
|
license = 'jgit',
|
|
repository = REPO,
|
|
deps = [':jgit',
|
|
'//lib/commons:compress',
|
|
'//lib:tukaani-xz',
|
|
],
|
|
unsign = True,
|
|
exclude = [
|
|
'about.html',
|
|
'plugin.properties',
|
|
],
|
|
)
|
|
|
|
maven_jar(
|
|
name = 'junit',
|
|
id = 'org.eclipse.jgit:org.eclipse.jgit.junit:' + VERS,
|
|
sha1 = '6ba0c7bf8f9577067c4338976385828e3ad774eb',
|
|
license = 'DO_NOT_DISTRIBUTE',
|
|
repository = REPO,
|
|
unsign = True,
|
|
deps = [':jgit'],
|
|
)
|
|
|
|
maven_jar(
|
|
name = 'ewah',
|
|
id = 'com.googlecode.javaewah:JavaEWAH:0.7.9',
|
|
sha1 = 'eceaf316a8faf0e794296ebe158ae110c7d72a5a',
|
|
license = 'Apache2.0',
|
|
)
|
|
|
|
prebuilt_jar(
|
|
name = 'Edit',
|
|
binary_jar = genfile('edit-src.jar'),
|
|
deps = [':jgit_edit_src'],
|
|
visibility = ['PUBLIC'],
|
|
)
|
|
|
|
genrule(
|
|
name = 'jgit_edit_src',
|
|
cmd = 'unzip -qd $TMP $SRCS org/eclipse/jgit/diff/Edit.java;' +
|
|
'cd $TMP;' +
|
|
'zip -Dq $OUT org/eclipse/jgit/diff/Edit.java',
|
|
srcs = [genfile('jgit/org.eclipse.jgit-%s-src.jar' % VERS)],
|
|
out = 'edit-src.jar',
|
|
deps = [':jgit_src']
|
|
)
|