| REPO = GERRIT # Leave here even if set to MAVEN_CENTRAL. |
| VERS = '4.5.0.201609210915-r.115-g81f9c1843' |
| |
| maven_jar( |
| name = 'jgit', |
| id = 'org.eclipse.jgit:org.eclipse.jgit:' + VERS, |
| sha1 = '34315f71bb9becf6ff75947a9c43c415b929ec21', |
| 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 = '927990025d2970995dbb58f03763eeb776fec8fd', |
| 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 = '4a5d058915400c1ef497bfeeb5e87d235213e273', |
| 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 = '8e3cb9b1f632fdfea76b04c286a2c0d8d260ebce', |
| repository = REPO, |
| unsign = True, |
| deps = [':jgit'], |
| ) |
| |
| maven_jar( |
| name = 'ewah', |
| id = 'com.googlecode.javaewah:JavaEWAH:1.1.6', |
| sha1 = '94ad16d728b374d65bd897625f3fbb3da223a2b6', |
| ) |
| |
| 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'], |
| ) |