Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDavid Pursehouse2018-08-29 23:48:41 +0000
committerDavid Pursehouse2018-08-30 06:28:06 +0000
commitaf547cf00d79f1233464aadb76ad381be7f8887f (patch)
tree5686efa8e89317ca6d830f84fb2e63763aca4f78 /lib
parent487571e604d726be7cf5eb00123a1764f44d16c9 (diff)
downloadjgit-af547cf00d79f1233464aadb76ad381be7f8887f.tar.gz
jgit-af547cf00d79f1233464aadb76ad381be7f8887f.tar.xz
jgit-af547cf00d79f1233464aadb76ad381be7f8887f.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 ffe66a3d89..346e1fd4e6 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(
@@ -65,7 +65,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"],
)
@@ -73,35 +73,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(
@@ -115,8 +115,8 @@ java_library(
testonly = 1,
visibility = ["//visibility:public"],
exports = [
- "@hamcrest_core//jar",
- "@hamcrest_library//jar",
+ "@hamcrest-core//jar",
+ "@hamcrest-library//jar",
"@junit//jar",
],
)
@@ -132,25 +132,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"],
)

Back to the top