gerrit/lib/jgit/BUCK
Saša Živkov 6d7fa9311b Upgrade JGit to 3.5.0.201409071800-rc1
The fix for the "Missing Tree ..." exception is contained in this JGit
version.

Bug: issue 1582
Change-Id: I9bb2cd22dd6f89028bbedeab1c407c21d8443c54
2014-09-09 17:14:01 +02:00

79 lines
1.7 KiB
Python

include_defs('//lib/maven.defs')
VERS = '3.5.0.201409071800-rc1'
maven_jar(
name = 'jgit',
id = 'org.eclipse.jgit:org.eclipse.jgit:' + VERS,
bin_sha1 = 'e520f25877d6ec940ac98faa5ffa97a75d83b653',
src_sha1 = '2c9eda84801364e9b07a458114a5a5c04bb8c99b',
license = 'jgit',
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 = '089e041d5065a7aa30366c3f1610868bac50bdba',
license = 'jgit',
deps = [':jgit'],
unsign = True,
exclude = [
'about.html',
'plugin.properties',
],
)
maven_jar(
name = 'jgit-archive',
id = 'org.eclipse.jgit:org.eclipse.jgit.archive:' + VERS,
sha1 = 'b335e60660653a6a421e76af5604d84ca526aa6a',
license = 'jgit',
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 = '9253ab01d92ccd657290b5996defa64177e738d0',
license = 'DO_NOT_DISTRIBUTE',
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 = ':jgit_edit_src',
visibility = ['PUBLIC'],
)
genrule(
name = 'jgit_edit_src',
cmd = 'unzip -qd $TMP $(location :jgit_src) ' +
'org/eclipse/jgit/diff/Edit.java;' +
'cd $TMP;' +
'zip -Dq $OUT org/eclipse/jgit/diff/Edit.java',
out = 'edit-src.jar',
)