Skip to content

Commit

Permalink
Update _jvm_import_external JAR alias target
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mbland committed Oct 16, 2024
1 parent d579e66 commit 4a83d81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scala/scala_maven_import_external.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def _jvm_import_external(repository_ctx):
"",
"alias(",
" name = \"jar\",",
" actual = \"@%s\"," % repo_name,
" actual = \"//:%s\"," % repo_name,
")",
"",
]))
Expand Down

0 comments on commit 4a83d81

Please sign in to comment.