| include_defs('//lib/maven.defs') |
| |
| VERS = '3.5.3.201412180710-r' |
| |
| maven_jar( |
| name = 'jgit', |
| id = 'org.eclipse.jgit:org.eclipse.jgit:' + VERS, |
| bin_sha1 = '9f3781c7163ee6fa380a4518564a5abb097d9e27', |
| src_sha1 = 'e6d8548522624ffa3094e43130e5dc958f359187', |
| 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 = 'f2678e1feefd8b90b3c47d40ebc2b9426e3b69f4', |
| 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 = '66705b6630a89c9e6e7950798ea2d7f8a4a82cd7', |
| 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 = '47e821761059770dfd3f443dc7f14d5381fb6f4f', |
| 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', |
| ) |