b82e74646e
Includes more push certificate improvements Change-Id: I20fa303477899f6f5465aed8f430f0a44355c3a0
90 lines
1.9 KiB
Python
90 lines
1.9 KiB
Python
include_defs('//lib/maven.defs')
|
|
|
|
REPO = GERRIT # Leave here even if set to MAVEN_CENTRAL.
|
|
VERS = '4.0.1.201506240215-r.94-g39dc898'
|
|
|
|
maven_jar(
|
|
name = 'jgit',
|
|
id = 'org.eclipse.jgit:org.eclipse.jgit:' + VERS,
|
|
bin_sha1 = 'e076b3f71daaadd27e9cfc810778968deed04038',
|
|
src_sha1 = '255a8c836c1a85da9ffc371ba3e59e63c2bc1dee',
|
|
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 = '4d4346164f89593a82670780fd041be358ab76c9',
|
|
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 = '96408a19e7506bf19f25b55574ca212a3e789961',
|
|
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 = '172e9b034bdd85b9611f3958258733fd74889cc7',
|
|
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',
|
|
)
|
|
|
|
gwt_module(
|
|
name = 'Edit',
|
|
srcs = [':jgit_edit_src'],
|
|
deps = [':edit_src'],
|
|
visibility = ['PUBLIC'],
|
|
)
|
|
|
|
prebuilt_jar(
|
|
name = 'edit_src',
|
|
binary_jar = ':jgit_edit_src',
|
|
)
|
|
|
|
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.zip',
|
|
)
|