I'm very new to Bazel and in my Bazel BUILD project, I'll try to explain use case which I'm trying to achieve,
- I have dependency on third party libraries from artifacts.
- I want to include the download part from the url in Bazel build.
- I have added below part in my WORKSPACE file.
http_archive(
name = "<lib_name>",
sha256 = "< >",
strip_prefix = "<../..>",
url = " < url/../xyz.zip",
)
- Now, how can I use private access tokens to download and extract libraries from artifact ?
- What modification do I need to do in BUILD file ?