blob: 2d0af1b174f4a2952c278e2ee7faeded8bb786dd [file] [log] [blame]
include_defs('//lib/maven.defs')
VERS = '3.6.2.201501210735-r'
maven_jar(
name = 'jgit',
id = 'org.eclipse.jgit:org.eclipse.jgit:' + VERS,
bin_sha1 = '47d59dffb5f02470ccfb6c1a5a31b6040a1636e5',
src_sha1 = '52e133360f2c38046de262c827dfec8ec5b7c885',
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 = 'f7788bbd0c0414e856c84ddf353e6f4c62fe1d28',
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 = 'ca9da919275dad5ac2844529f4cdccdd919bab5f',
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 = 'b7418e19efbeb9490b359c8a921cf32bfc57ebbd',
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',
)