SPM registry hosted on `http` not working
I have an internal SPM registry hosted on `http` endpoint and it seems to be working fine with `swift package` but doesn't work with the rule. I am getting the following error while building my target.
```
...registry_swift_package.bzl in _download_and_parse_package_json
repository_ctx.download(
Error in download: java.io.IOException: No URLs left after removing plain http URLs due to missing checksum. Please provide either a checksum or an https download location.
```
So, is there a way to get it work with `http` endpoint of the registry?
4 条评论