Skip to content

Commit

Permalink
Add netrc support for downloading sources (#1609)
Browse files Browse the repository at this point in the history
  • Loading branch information
grepwood authored Sep 17, 2024
1 parent e53a43b commit 3da60a8
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 @@ -125,7 +125,7 @@ def _jvm_import_external(repository_ctx):
lines.append("")
repository_ctx.download(urls, path, sha, auth = _get_auth(repository_ctx, urls))
if srcurls and _should_fetch_sources_in_current_env(repository_ctx):
repository_ctx.download(srcurls, srcpath, srcsha)
repository_ctx.download(srcurls, srcpath, srcsha, auth = _get_auth(repository_ctx, srcurls))
repository_ctx.file("BUILD", "\n".join(lines))
repository_ctx.file("jar/BUILD", "\n".join([
_HEADER,
Expand Down

0 comments on commit 3da60a8

Please sign in to comment.