| include_defs('//lib/maven.defs') | |
| include_defs('//lib/JGIT_VERSION') | |
| gerrit_plugin( | |
| name = 'lfs-storage-s3', | |
| 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-s3', | |
| 'Gerrit-HttpModule: com.googlesource.gerrit.plugins.lfs.s3.HttpModule', | |
| ], | |
| ) | |
| maven_jar( | |
| name = 'jgit-http-apache', | |
| id = 'org.eclipse.jgit:org.eclipse.jgit.http.apache:' + VERS, | |
| sha1 = '4015113994a80875dc4a2ab93aaca6e08ae852ae', | |
| 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 = 'db815697513c62c6af342c9b63a639550e38cfbd', | |
| src_sha1 = '4f38123a88043fbd55068ee1b630cde283ef9e6f', | |
| 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 = '753c8b87c3bea8959d72bc00e1187df516851331', | |
| src_sha1 = '2e01694efb42efa5e95ed7198cbe54f70ecb7f52', | |
| license = 'jgit', | |
| repository = REPO, | |
| unsign = True, | |
| exclude = [ | |
| 'about.html', | |
| 'plugin.properties', | |
| ], | |
| ) |