]> source.dussan.org Git - jgit.git/commitdiff
Bazel: Simplify names of bouncy castle libraries 72/142272/1
authorDavid Ostrovsky <david@ostrovsky.org>
Thu, 16 May 2019 16:56:12 +0000 (18:56 +0200)
committerDavid Ostrovsky <david@ostrovsky.org>
Thu, 16 May 2019 17:04:40 +0000 (19:04 +0200)
Name bouncy castle libraries consistently. This also allows to use
local jgit tree as dependency in gerrit.

Change-Id: Ie0a995a70ecee907d25b3cdda9034a25c0290efe
Signed-off-by: David Ostrovsky <david@ostrovsky.org>
WORKSPACE
lib/BUILD

index 8ee3fece4fbac54435395e2e560aa59154e31334..7ddd55463f61848b4afe18fa11becbc05d13b8e2 100644 (file)
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -215,21 +215,21 @@ maven_jar(
 BOUNCYCASTLE_VER = "1.60"
 
 maven_jar(
-    name = "bcpg-jdk15on",
+    name = "bcpg",
     artifact = "org.bouncycastle:bcpg-jdk15on:" + BOUNCYCASTLE_VER,
     sha1 = "13c7a199c484127daad298996e95818478431a2c",
     src_sha1 = "edcd9e86d95e39b4da39bb295efd93bc4f56266e",
 )
 
 maven_jar(
-    name = "bcprov-jdk15on",
+    name = "bcprov",
     artifact = "org.bouncycastle:bcprov-jdk15on:" + BOUNCYCASTLE_VER,
     sha1 = "bd47ad3bd14b8e82595c7adaa143501e60842a84",
     src_sha1 = "7c57a4d13fe53d9abb967bba600dd0b293dafd6a",
 )
 
 maven_jar(
-    name = "bcpkix-jdk15on",
+    name = "bcpkix",
     artifact = "org.bouncycastle:bcpkix-jdk15on:" + BOUNCYCASTLE_VER,
     sha1 = "d0c46320fbc07be3a24eb13a56cee4e3d38e0c75",
     src_sha1 = "a25f041293f401af08efba63ff4bbdce98134a03",
index 992f7bd0a487040910024c783f0e0044f1d15b66..f41ad162f689a4d646cff51bc93165b623027efe 100644 (file)
--- a/lib/BUILD
+++ b/lib/BUILD
@@ -153,7 +153,7 @@ java_library(
         "//org.eclipse.jgit:__pkg__",
         "//org.eclipse.jgit.test:__pkg__",
     ],
-    exports = ["@bcpg-jdk15on//jar"],
+    exports = ["@bcpg//jar"],
 )
 
 java_library(
@@ -162,7 +162,7 @@ java_library(
         "//org.eclipse.jgit:__pkg__",
         "//org.eclipse.jgit.test:__pkg__",
     ],
-    exports = ["@bcprov-jdk15on//jar"],
+    exports = ["@bcprov//jar"],
 )
 
 java_library(
@@ -171,7 +171,7 @@ java_library(
         "//org.eclipse.jgit:__pkg__",
         "//org.eclipse.jgit.test:__pkg__",
     ],
-    exports = ["@bcpkix-jdk15on//jar"],
+    exports = ["@bcpkix//jar"],
 )
 
 java_library(