diff options
author | David Pursehouse <david.pursehouse@gmail.com> | 2017-01-20 12:58:46 +0900 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2017-01-22 22:34:12 +0100 |
commit | 9d1474431fea4fd034885f50015f91b7b68a72b7 (patch) | |
tree | eff3ba1be46042ef0ce923b8a23f633233dfdecb /org.eclipse.jgit.http.apache/BUILD | |
parent | dd5e500a57fce994331dd9c9a03cb9577998a4a8 (diff) | |
download | jgit-9d1474431fea4fd034885f50015f91b7b68a72b7.tar.gz jgit-9d1474431fea4fd034885f50015f91b7b68a72b7.zip |
Implement Bazel build for http-apache, lfs, lfs-server
Test plan:
$ bazel build all
$ unzip -t bazel-genfiles/all.zip
Archive: bazel-genfiles/all.zip
testing: libhttp-apache.jar OK
testing: libjgit-archive.jar OK
testing: libjgit-lfs-server.jar OK
testing: libjgit-lfs.jar OK
testing: libjgit-servlet.jar OK
testing: libjgit.jar OK
testing: libjunit.jar OK
No errors detected in compressed data of bazel-genfiles/all.zip.
Change-Id: I9e6c60898ccc6d2a4557ec7544c297442a9702b4
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'org.eclipse.jgit.http.apache/BUILD')
-rw-r--r-- | org.eclipse.jgit.http.apache/BUILD | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/org.eclipse.jgit.http.apache/BUILD b/org.eclipse.jgit.http.apache/BUILD new file mode 100644 index 0000000000..0814537a66 --- /dev/null +++ b/org.eclipse.jgit.http.apache/BUILD @@ -0,0 +1,13 @@ +package(default_visibility = ["//visibility:public"]) + +java_library( + name = "http-apache", + srcs = glob(["src/**"]), + resource_strip_prefix = "org.eclipse.jgit.http.apache/resources", + resources = glob(["resources/**"]), + deps = [ + "//org.eclipse.jgit:jgit", + "@httpclient//jar", + "@httpcore//jar", + ], +) |