Skip to content

Commit 4a83d81

Browse files
committed
Update _jvm_import_external JAR alias target
Changes the target for the `//jar:jar` alias in `_jvm_import_scala` to the top level repo target directly (`//:%s`) instead of the repo name (`@%s`). Functionally the same, but seems a bit cleaner than referencing the target as though it were external to the repo.
1 parent d579e66 commit 4a83d81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scala/scala_maven_import_external.bzl

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def _jvm_import_external(repository_ctx):
138138
"",
139139
"alias(",
140140
" name = \"jar\",",
141-
" actual = \"@%s\"," % repo_name,
141+
" actual = \"//:%s\"," % repo_name,
142142
")",
143143
"",
144144
]))

0 commit comments

Comments
 (0)