Skip to content

Commit 3da60a8

Browse files
authored
Add netrc support for downloading sources (#1609)
1 parent e53a43b commit 3da60a8

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
@@ -125,7 +125,7 @@ def _jvm_import_external(repository_ctx):
125125
lines.append("")
126126
repository_ctx.download(urls, path, sha, auth = _get_auth(repository_ctx, urls))
127127
if srcurls and _should_fetch_sources_in_current_env(repository_ctx):
128-
repository_ctx.download(srcurls, srcpath, srcsha)
128+
repository_ctx.download(srcurls, srcpath, srcsha, auth = _get_auth(repository_ctx, srcurls))
129129
repository_ctx.file("BUILD", "\n".join(lines))
130130
repository_ctx.file("jar/BUILD", "\n".join([
131131
_HEADER,

0 commit comments

Comments
 (0)