bazeltools / bazel-deps

Generate bazel dependencies for maven artifacts
MIT License
249 stars 121 forks source link

Option to pull down latest version available #305

Open fcorange opened 2 years ago

fcorange commented 2 years ago

Does bazel-deps support pulling down latest 3rdparty dependency versions available from say, Maven? E.g. if I specify version to be LATEST then it'll pull down whatever latest version that is available in the repository. Looking at the documentation looks like you can either hardcode the version number or leave it blank (in which case it'll be fulfilled by transitive deps). It'll be handy to add LATEST option.

johnynek commented 2 years ago

A feature like that would be nice but it doesn't exist.

We could merge a PR if you have time.

I guess we would look for an API we can use with coursier.