| include_defs('//lib/maven.defs') |
| include_defs('//lib/JGIT_VERSION') |
| |
| gerrit_plugin( |
| name = 'lfs-storage-fs', |
| srcs = glob(['src/main/java/**/*.java']), |
| resources = glob(['src/main/resources/**/*']), |
| deps = [ |
| ':jgit-http-apache', |
| ':jgit-lfs', |
| ':jgit-lfs-server', |
| ], |
| manifest_entries = [ |
| 'Gerrit-PluginName: lfs-storage-fs', |
| 'Gerrit-HttpModule: com.googlesource.gerrit.plugins.lfslocal.HttpModule', |
| ], |
| ) |
| |
| maven_jar( |
| name = 'jgit-http-apache', |
| id = 'org.eclipse.jgit:org.eclipse.jgit.http.apache:' + VERS, |
| sha1 = '8a589f2c7a623d8fc5a38edbaf11af2061a2baea', |
| license = 'jgit', |
| repository = REPO, |
| unsign = True, |
| exclude = [ |
| 'about.html', |
| 'plugin.properties', |
| ], |
| ) |
| |
| maven_jar( |
| name = 'jgit-lfs', |
| id = 'org.eclipse.jgit:org.eclipse.jgit.lfs:' + VERS, |
| bin_sha1 = '3ac14ac1fe71b9390183b9a41a749182556c5bf2', |
| src_sha1 = '4008b18150f71a4eb6da77882ef222ce86a8a469', |
| license = 'jgit', |
| repository = REPO, |
| unsign = True, |
| exclude = [ |
| 'about.html', |
| 'plugin.properties', |
| ], |
| ) |
| |
| maven_jar( |
| name = 'jgit-lfs-server', |
| id = 'org.eclipse.jgit:org.eclipse.jgit.lfs.server:' + VERS, |
| bin_sha1 = '0eb4803d6fa08100a4bd8dfbac44ec21f870ceff', |
| src_sha1 = '95b1695aca8ec1b53f6ca17f3d3361f2c2ac71f3', |
| license = 'jgit', |
| repository = REPO, |
| unsign = True, |
| exclude = [ |
| 'about.html', |
| 'plugin.properties', |
| ], |
| ) |