Jin

Results 113 comments of Jin

How big is the artifact list? You could debug the repository rule and try running the coursier command directly from the command line.

https://github.com/bazelbuild/rules_jvm_external#verbose--debug-mode should show you the command. Also, if you can even get it to succeed once, use [artifact pinning](https://github.com/bazelbuild/rules_jvm_external#pinning-artifacts-and-integration-with-bazels-downloader) to lock down the dependencies and switch to use Bazel's downloader.

https://github.com/bazelbuild/rules_jvm_external/blob/d211f3b057528f06d0414a56c10ddb8849ede78b/coursier.bzl#L656 is where the coursier command is constructed. One way is to pipe all of the artifacts into a file with `repository_ctx.file` and pass that file as an arg into...