blob: 8da549363cbb12115c3da2f4d9c0d4231ec0cfe7 [file] [log] [blame]
REPO = GERRIT # Leave here even if set to MAVEN_CENTRAL.
VERS = '4.2.0.201601211800-r.136-g8efdaaf'
maven_jar(
name = 'jgit',
id = 'org.eclipse.jgit:org.eclipse.jgit:' + VERS,
sha1 = '32f50e3c0c4f53d8fdca147d3ff0b6ef0dc02eb0',
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 = 'b493401b9778cdc38f7c08f111c6385a434b2ac2',
repository = REPO,
deps = [':jgit'],
unsign = True,
exclude = [
'about.html',
'plugin.properties',
],
)
java_library(
name = 'jgit-archive',
exported_deps = [
':jgit-archive_library',
':commons-compress',
':tukaani-xz',
],
visibility = ['PUBLIC'],
)
maven_jar(
name = 'jgit-archive_library',
id = 'org.eclipse.jgit:org.eclipse.jgit.archive:' + VERS,
sha1 = '1b3a0cb7b8c2629e33902b3daf1067accca62eaf',
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 = 'c68ddb3e2aaca05b1d2f8250dd107b5f484ed603',
repository = REPO,
unsign = True,
deps = [':jgit'],
)
maven_jar(
name = 'ewah',
id = 'com.googlecode.javaewah:JavaEWAH:0.7.9',
sha1 = 'eceaf316a8faf0e794296ebe158ae110c7d72a5a',
)
maven_jar(
name = 'commons-compress',
id = 'org.apache.commons:commons-compress:1.7',
sha1 = 'ab365c96ee9bc88adcc6fa40d185c8e15a31410d',
exclude = ['META-INF/LICENSE.txt', 'META-INF/NOTICE.txt'],
visibility = ['//lib/jgit:jgit-archive'],
)
maven_jar(
name = 'tukaani-xz',
id = 'org.tukaani:xz:1.4',
sha1 = '18a9a2ce6abf32ea1b5fd31dae5210ad93f4e5e3',
attach_source = False,
visibility = ['//lib/jgit:jgit-archive'],
)