aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@gmail.com>2018-08-30 08:48:41 +0900
committerDavid Pursehouse <david.pursehouse@gmail.com>2018-08-30 13:51:11 +0900
commit19222ce7c455a25dacd1867d207081d604cfb066 (patch)
treef17ba3fcf2576f66a57d5bc84d47d29ca9a2b891 /lib
parentafbc55aa229535a53a75b9641849c54d76f41eee (diff)
downloadjgit-19222ce7c455a25dacd1867d207081d604cfb066.tar.gz
jgit-19222ce7c455a25dacd1867d207081d604cfb066.zip
Bazel: Use hyphen instead of underscore in external repository names
Recent Bazel versions support the hyphen character in external repository names. On the Gerrit project, the repository names were harmonized to consistently use hyphen. As a side effect, it is no longer possible to build jgit from source in the gerrit tree, due to the different repository names. Rename the dependencies to use hyphens, consistent with gerrit. Change-Id: Ideebd858ddd3f0e6f765643001642dfb6c12441f Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/BUILD30
1 files changed, 15 insertions, 15 deletions
diff --git a/lib/BUILD b/lib/BUILD
index 53eb19188a..ebba0daf49 100644
--- a/lib/BUILD
+++ b/lib/BUILD
@@ -13,19 +13,19 @@ java_library(
"//org.eclipse.jgit.archive:__pkg__",
"//org.eclipse.jgit.pgm.test:__pkg__",
],
- exports = ["@commons_compress//jar"],
+ exports = ["@commons-compress//jar"],
)
java_library(
name = "commons-codec",
- exports = ["@commons_codec//jar"],
+ exports = ["@commons-codec//jar"],
)
java_library(
name = "commons-logging",
testonly = 1,
visibility = ["//visibility:public"],
- exports = ["@commons_logging//jar"],
+ exports = ["@commons-logging//jar"],
)
java_library(
@@ -69,7 +69,7 @@ java_library(
name = "jetty-http",
# TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
visibility = ["//visibility:public"],
- exports = ["@jetty_http//jar"],
+ exports = ["@jetty-http//jar"],
runtime_deps = [":commons-codec"],
)
@@ -77,35 +77,35 @@ java_library(
name = "jetty-io",
# TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
visibility = ["//visibility:public"],
- exports = ["@jetty_io//jar"],
+ exports = ["@jetty-io//jar"],
)
java_library(
name = "jetty-security",
# TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
visibility = ["//visibility:public"],
- exports = ["@jetty_security//jar"],
+ exports = ["@jetty-security//jar"],
)
java_library(
name = "jetty-server",
# TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
visibility = ["//visibility:public"],
- exports = ["@jetty_server//jar"],
+ exports = ["@jetty-server//jar"],
)
java_library(
name = "jetty-servlet",
# TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
visibility = ["//visibility:public"],
- exports = ["@jetty_servlet//jar"],
+ exports = ["@jetty-servlet//jar"],
)
java_library(
name = "jetty-util",
# TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
visibility = ["//visibility:public"],
- exports = ["@jetty_util//jar"],
+ exports = ["@jetty-util//jar"],
)
java_library(
@@ -131,8 +131,8 @@ java_library(
testonly = 1,
visibility = ["//visibility:public"],
exports = [
- "@hamcrest_core//jar",
- "@hamcrest_library//jar",
+ "@hamcrest-core//jar",
+ "@hamcrest-library//jar",
"@junit//jar",
],
)
@@ -148,25 +148,25 @@ java_library(
"//org.eclipse.jgit.lfs.server.test:__pkg__",
"//org.eclipse.jgit.pgm:__pkg__",
],
- exports = ["@servlet_api_3_1//jar"],
+ exports = ["@servlet-api-3_1//jar"],
)
java_library(
name = "slf4j-api",
visibility = ["//visibility:public"],
- exports = ["@log_api//jar"],
+ exports = ["@log-api//jar"],
)
java_library(
name = "slf4j-simple",
testonly = 1,
visibility = ["//visibility:public"],
- exports = ["@slf4j_simple//jar"],
+ exports = ["@slf4j-simple//jar"],
)
java_library(
name = "xz",
testonly = 1,
visibility = ["//visibility:public"],
- exports = ["@tukaani_xz//jar"],
+ exports = ["@tukaani-xz//jar"],
)