bazelbuild / rules_scala

Scala rules for Bazel
Apache License 2.0
363 stars 278 forks source link

Add netrc support for downloading sources #1609

Closed grepwood closed 2 months ago

grepwood commented 2 months ago

Description

https://github.com/bazelbuild/rules_scala/pull/1509 missed a spot - netrc authentication also needs to be added to downloading sources for this to work in an environment, where we only use private mirrors, and these private mirrors will not even respond without authentication.

Motivation

I found myself needing this kind of change at work. I would like to contribute this change so that I don't have to patch this into my Bazel workspace.