| David Pursehouse | 56aca40 | 2016-08-10 15:04:23 +0900 | [diff] [blame] | 1 | REPO = GERRIT # Leave here even if set to MAVEN_CENTRAL. |
| Jonathan Nieder | 788b855 | 2016-08-26 18:22:40 -0700 | [diff] [blame] | 2 | VERS = '4.4.1.201607150455-r.137-gdd2a5a7' |
| David Ostrovsky | 22c45b3 | 2014-02-23 22:22:26 +0100 | [diff] [blame] | 3 | |
| 4 | maven_jar( |
| 5 | name = 'jgit', |
| 6 | id = 'org.eclipse.jgit:org.eclipse.jgit:' + VERS, |
| David Pursehouse | be149ff | 2016-08-28 12:19:00 +0900 | [diff] [blame] | 7 | sha1 = 'cbb405a0d72d4f6086e1cdc4eca6121b3d6b41c1', |
| Dave Borowitz | af5e4ab | 2014-04-17 15:28:04 -0700 | [diff] [blame] | 8 | repository = REPO, |
| David Ostrovsky | 22c45b3 | 2014-02-23 22:22:26 +0100 | [diff] [blame] | 9 | unsign = True, |
| 10 | deps = [':ewah'], |
| 11 | exclude = [ |
| 12 | 'META-INF/eclipse.inf', |
| 13 | 'about.html', |
| 14 | 'plugin.properties', |
| 15 | ], |
| 16 | ) |
| 17 | |
| 18 | maven_jar( |
| 19 | name = 'jgit-servlet', |
| 20 | id = 'org.eclipse.jgit:org.eclipse.jgit.http.server:' + VERS, |
| David Pursehouse | be149ff | 2016-08-28 12:19:00 +0900 | [diff] [blame] | 21 | sha1 = '0ec3fc4d662b23791a30a75823d429ac2b2e0034', |
| Dave Borowitz | af5e4ab | 2014-04-17 15:28:04 -0700 | [diff] [blame] | 22 | repository = REPO, |
| David Ostrovsky | 22c45b3 | 2014-02-23 22:22:26 +0100 | [diff] [blame] | 23 | deps = [':jgit'], |
| 24 | unsign = True, |
| 25 | exclude = [ |
| 26 | 'about.html', |
| 27 | 'plugin.properties', |
| 28 | ], |
| 29 | ) |
| 30 | |
| 31 | java_library( |
| 32 | name = 'jgit-archive', |
| 33 | exported_deps = [ |
| 34 | ':jgit-archive_library', |
| 35 | ':commons-compress', |
| 36 | ':tukaani-xz', |
| 37 | ], |
| 38 | visibility = ['PUBLIC'], |
| 39 | ) |
| 40 | |
| 41 | maven_jar( |
| 42 | name = 'jgit-archive_library', |
| 43 | id = 'org.eclipse.jgit:org.eclipse.jgit.archive:' + VERS, |
| David Pursehouse | be149ff | 2016-08-28 12:19:00 +0900 | [diff] [blame] | 44 | sha1 = 'a23774dc4a9e4fd7177768c61cecccd80be2434e', |
| Dave Borowitz | af5e4ab | 2014-04-17 15:28:04 -0700 | [diff] [blame] | 45 | repository = REPO, |
| David Ostrovsky | 22c45b3 | 2014-02-23 22:22:26 +0100 | [diff] [blame] | 46 | deps = [':jgit'], |
| 47 | unsign = True, |
| 48 | exclude = [ |
| 49 | 'about.html', |
| 50 | 'plugin.properties', |
| 51 | ], |
| 52 | ) |
| 53 | |
| 54 | maven_jar( |
| 55 | name = 'junit', |
| 56 | id = 'org.eclipse.jgit:org.eclipse.jgit.junit:' + VERS, |
| David Pursehouse | be149ff | 2016-08-28 12:19:00 +0900 | [diff] [blame] | 57 | sha1 = '58886c1798248993021ac0db2624e09366281298', |
| Dave Borowitz | af5e4ab | 2014-04-17 15:28:04 -0700 | [diff] [blame] | 58 | repository = REPO, |
| David Ostrovsky | 22c45b3 | 2014-02-23 22:22:26 +0100 | [diff] [blame] | 59 | unsign = True, |
| 60 | deps = [':jgit'], |
| 61 | ) |
| 62 | |
| 63 | maven_jar( |
| 64 | name = 'ewah', |
| 65 | id = 'com.googlecode.javaewah:JavaEWAH:0.7.9', |
| 66 | sha1 = 'eceaf316a8faf0e794296ebe158ae110c7d72a5a', |
| 67 | ) |
| 68 | |
| 69 | maven_jar( |
| 70 | name = 'commons-compress', |
| 71 | id = 'org.apache.commons:commons-compress:1.7', |
| 72 | sha1 = 'ab365c96ee9bc88adcc6fa40d185c8e15a31410d', |
| 73 | exclude = ['META-INF/LICENSE.txt', 'META-INF/NOTICE.txt'], |
| 74 | visibility = ['//lib/jgit:jgit-archive'], |
| 75 | ) |
| 76 | |
| 77 | maven_jar( |
| 78 | name = 'tukaani-xz', |
| 79 | id = 'org.tukaani:xz:1.4', |
| 80 | sha1 = '18a9a2ce6abf32ea1b5fd31dae5210ad93f4e5e3', |
| 81 | attach_source = False, |
| 82 | visibility = ['//lib/jgit:jgit-archive'], |
| 83 | ) |