summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.http.apache
diff options
context:
space:
mode:
authorShawn Pearce <sop@google.com>2015-12-31 11:18:02 -0800
committerShawn Pearce <sop@google.com>2015-12-31 17:18:50 -0800
commit34de70a5d42fc89275c9108351cf2e8154ff3322 (patch)
treea596a9eba25b883b2b19014c1cfb9210eae928ae /org.eclipse.jgit.http.apache
parent13502fef8f4814c6c5bdfa63674c94f9d32b5531 (diff)
downloadjgit-34de70a5d42fc89275c9108351cf2e8154ff3322.tar.gz
jgit-34de70a5d42fc89275c9108351cf2e8154ff3322.zip
buck: build standalone jgit binary
Construct the java_application JAR wrapped with the shell script header. This is enough to clone a repository over HTTPs: $ buck build :jgit_bin $ buck-out/gen/jgit_bin/jgit_bin clone https://... Change-Id: I4aceb4e77b2ec9be76a32ec93d94f2dafe9acce6
Diffstat (limited to 'org.eclipse.jgit.http.apache')
-rw-r--r--org.eclipse.jgit.http.apache/BUCK12
1 files changed, 12 insertions, 0 deletions
diff --git a/org.eclipse.jgit.http.apache/BUCK b/org.eclipse.jgit.http.apache/BUCK
new file mode 100644
index 0000000000..f48f33a1ae
--- /dev/null
+++ b/org.eclipse.jgit.http.apache/BUCK
@@ -0,0 +1,12 @@
+java_library(
+ name = 'http-apache',
+ srcs = glob(['src/**']),
+ resources = glob(['resources/**']),
+ deps = [
+ '//org.eclipse.jgit:jgit',
+ '//lib:commons-logging',
+ '//lib:httpcomponents',
+ '//lib:httpcore',
+ ],
+ visibility = ['PUBLIC'],
+)