blob: b6fbaf042edd9138e9cf26068a98a3adaa40b661 [file] [log] [blame]
include_defs('//lib/maven.defs')
REPO = ECLIPSE
VERS = '3.2.0.201312181205-r'
maven_jar(
name = 'jgit',
id = 'org.eclipse.jgit:org.eclipse.jgit:' + VERS,
bin_sha1 = '4b99546e8c8a04597b7a4564003e3b554ec12b5c',
src_sha1 = '566b20b4798d9fa31fe33298c493ca9601830b6f',
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 = '65c5c90fc3b65c76cb4ac593e93b5fef8bb43e08',
license = 'jgit',
repository = REPO,
deps = [':jgit'],
unsign = True,
exclude = [
'about.html',
'plugin.properties',
],
)
maven_jar(
name = 'junit',
id = 'org.eclipse.jgit:org.eclipse.jgit.junit:' + VERS,
sha1 = '10240657c6675cfa2b709c27ea89834aab200667',
license = 'DO_NOT_DISTRIBUTE',
repository = REPO,
unsign = True,
deps = [':jgit'],
)
maven_jar(
name = 'ewah',
id = 'com.googlecode.javaewah:JavaEWAH:0.5.6',
sha1 = '1207c0fc8552d4f5f574b50f29321d923521128e',
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']
)