Skip to main content
diff options
authorDavid Ostrovsky2016-11-06 08:06:54 +0000
committerDavid Pursehouse2017-01-18 23:13:16 +0000
commite92a0c3adc7035e5188194e145b8cd010887b569 (patch)
treeecce3f7fbb5db1d637bf855bd3f42826f806609b /org.eclipse.jgit.http.server/BUILD
parentb667c182cbaf56fd4382362f042062343bac0856 (diff)
Implement initial framework of Bazel build
The initial implementation only builds the packages consumed by Gerrit Code Review. Test build and execution is not implemented. We prefer to consume maven_jar custom rule from bazlets repository, for the same reasons as in the Gerrit project: * Caching artifacts across different clones and projects * Exposing source classifiers and neverlink artifact TEST PLAN: $ bazel build :all $ unzip -t bazel-genfiles/ Archive: bazel-genfiles/ testing: libjgit-archive.jar OK testing: libjgit-servlet.jar OK testing: libjgit.jar OK testing: libjunit.jar OK No errors detected in compressed data of bazel-genfiles/ Change-Id: Ia837ce95d9829fe2515f37b7a04a71a4598672a0 Signed-off-by: David Ostrovsky <> Signed-off-by: David Pursehouse <>
Diffstat (limited to 'org.eclipse.jgit.http.server/BUILD')
1 files changed, 12 insertions, 0 deletions
diff --git a/org.eclipse.jgit.http.server/BUILD b/org.eclipse.jgit.http.server/BUILD
new file mode 100644
index 0000000000..88dc8040bf
--- /dev/null
+++ b/org.eclipse.jgit.http.server/BUILD
@@ -0,0 +1,12 @@
+package(default_visibility = ['//visibility:public'])
+ name = 'jgit-servlet',
+ srcs = glob(['src/**']),
+ resources = glob(['resources/**']),
+ resource_strip_prefix = 'org.eclipse.jgit.http.server/resources',
+ deps = [ # We want these deps to be provided_deps
+ '//org.eclipse.jgit:jgit',
+ '@servlet_api_3_1//jar',
+ ],

Back to the top