aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jgit/BUILD')
-rw-r--r--org.eclipse.jgit/BUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/org.eclipse.jgit/BUILD b/org.eclipse.jgit/BUILD
new file mode 100644
index 0000000000..2abf228082
--- /dev/null
+++ b/org.eclipse.jgit/BUILD
@@ -0,0 +1,29 @@
+package(default_visibility = ['//visibility:public'])
+
+INSECURE_CIPHER_FACTORY = [
+ 'src/org/eclipse/jgit/transport/InsecureCipherFactory.java',
+]
+
+SRCS = glob(['src/**'], exclude=INSECURE_CIPHER_FACTORY)
+RESOURCES = glob(['resources/**'])
+
+java_library(
+ name = 'jgit',
+ srcs = SRCS,
+ resources = RESOURCES,
+ resource_strip_prefix = 'org.eclipse.jgit/resources',
+ deps = [
+ ':insecure_cipher_factory',
+ '@javaewah//jar',
+ '@jsch//jar',
+ '@httpclient//jar',
+ '@servlet_api_3_1//jar',
+ '@log_api//jar',
+ ],
+)
+
+java_library(
+ name = 'insecure_cipher_factory',
+ srcs = INSECURE_CIPHER_FACTORY,
+ javacopts = ['-Xep:InsecureCipherMode:OFF'],
+)