| Dave Borowitz | b652231 | 2014-07-29 12:40:55 -0700 | [diff] [blame^] | 1 | include_defs('//bucklets.defs') |
| 2 | include_bucklets(['maven_jar.bucklet']) |
| David Ostrovsky | 22c45b3 | 2014-02-23 22:22:26 +0100 | [diff] [blame] | 3 | |
| Dave Borowitz | af5e4ab | 2014-04-17 15:28:04 -0700 | [diff] [blame] | 4 | REPO = GERRIT |
| Dave Borowitz | a85f256 | 2014-05-06 11:19:17 -0700 | [diff] [blame] | 5 | VERS = '3.3.2.201404171909-r.128-g79448bc' |
| David Ostrovsky | 22c45b3 | 2014-02-23 22:22:26 +0100 | [diff] [blame] | 6 | |
| 7 | maven_jar( |
| 8 | name = 'jgit', |
| 9 | id = 'org.eclipse.jgit:org.eclipse.jgit:' + VERS, |
| Dave Borowitz | a85f256 | 2014-05-06 11:19:17 -0700 | [diff] [blame] | 10 | sha1 = 'a06d48637aa2952d18909244fd96f7483f148b7c', |
| Dave Borowitz | af5e4ab | 2014-04-17 15:28:04 -0700 | [diff] [blame] | 11 | repository = REPO, |
| David Ostrovsky | 22c45b3 | 2014-02-23 22:22:26 +0100 | [diff] [blame] | 12 | unsign = True, |
| 13 | deps = [':ewah'], |
| 14 | exclude = [ |
| 15 | 'META-INF/eclipse.inf', |
| 16 | 'about.html', |
| 17 | 'plugin.properties', |
| 18 | ], |
| 19 | ) |
| 20 | |
| 21 | maven_jar( |
| 22 | name = 'jgit-servlet', |
| 23 | id = 'org.eclipse.jgit:org.eclipse.jgit.http.server:' + VERS, |
| Dave Borowitz | a85f256 | 2014-05-06 11:19:17 -0700 | [diff] [blame] | 24 | sha1 = 'da9711d199d140a69d21eea70be2f13eca21935c', |
| Dave Borowitz | af5e4ab | 2014-04-17 15:28:04 -0700 | [diff] [blame] | 25 | repository = REPO, |
| David Ostrovsky | 22c45b3 | 2014-02-23 22:22:26 +0100 | [diff] [blame] | 26 | deps = [':jgit'], |
| 27 | unsign = True, |
| 28 | exclude = [ |
| 29 | 'about.html', |
| 30 | 'plugin.properties', |
| 31 | ], |
| 32 | ) |
| 33 | |
| 34 | java_library( |
| 35 | name = 'jgit-archive', |
| 36 | exported_deps = [ |
| 37 | ':jgit-archive_library', |
| 38 | ':commons-compress', |
| 39 | ':tukaani-xz', |
| 40 | ], |
| 41 | visibility = ['PUBLIC'], |
| 42 | ) |
| 43 | |
| 44 | maven_jar( |
| 45 | name = 'jgit-archive_library', |
| 46 | id = 'org.eclipse.jgit:org.eclipse.jgit.archive:' + VERS, |
| Dave Borowitz | a85f256 | 2014-05-06 11:19:17 -0700 | [diff] [blame] | 47 | sha1 = '8574d1080a71fdd8b0a07a9eb85e51beba39149c', |
| Dave Borowitz | af5e4ab | 2014-04-17 15:28:04 -0700 | [diff] [blame] | 48 | repository = REPO, |
| David Ostrovsky | 22c45b3 | 2014-02-23 22:22:26 +0100 | [diff] [blame] | 49 | deps = [':jgit'], |
| 50 | unsign = True, |
| 51 | exclude = [ |
| 52 | 'about.html', |
| 53 | 'plugin.properties', |
| 54 | ], |
| 55 | ) |
| 56 | |
| 57 | maven_jar( |
| 58 | name = 'junit', |
| 59 | id = 'org.eclipse.jgit:org.eclipse.jgit.junit:' + VERS, |
| Dave Borowitz | a85f256 | 2014-05-06 11:19:17 -0700 | [diff] [blame] | 60 | sha1 = 'c4d232911178abfff65ba4b75cecd3ef31ad4211', |
| Dave Borowitz | af5e4ab | 2014-04-17 15:28:04 -0700 | [diff] [blame] | 61 | repository = REPO, |
| David Ostrovsky | 22c45b3 | 2014-02-23 22:22:26 +0100 | [diff] [blame] | 62 | unsign = True, |
| 63 | deps = [':jgit'], |
| 64 | ) |
| 65 | |
| 66 | maven_jar( |
| 67 | name = 'ewah', |
| 68 | id = 'com.googlecode.javaewah:JavaEWAH:0.7.9', |
| 69 | sha1 = 'eceaf316a8faf0e794296ebe158ae110c7d72a5a', |
| 70 | ) |
| 71 | |
| 72 | maven_jar( |
| 73 | name = 'commons-compress', |
| 74 | id = 'org.apache.commons:commons-compress:1.7', |
| 75 | sha1 = 'ab365c96ee9bc88adcc6fa40d185c8e15a31410d', |
| 76 | exclude = ['META-INF/LICENSE.txt', 'META-INF/NOTICE.txt'], |
| 77 | visibility = ['//lib/jgit:jgit-archive'], |
| 78 | ) |
| 79 | |
| 80 | maven_jar( |
| 81 | name = 'tukaani-xz', |
| 82 | id = 'org.tukaani:xz:1.4', |
| 83 | sha1 = '18a9a2ce6abf32ea1b5fd31dae5210ad93f4e5e3', |
| 84 | attach_source = False, |
| 85 | visibility = ['//lib/jgit:jgit-archive'], |
| 86 | ) |