bazelbuild / migration-tooling

Migration tools for Bazel
Apache License 2.0
45 stars 30 forks source link

Allow aliasing rules that are already defined elsewhere #35

Closed kchodorow closed 7 years ago

kchodorow commented 7 years ago

Adds a --declare flag that lets you create mappings between Maven artifacts and the name you want generate_workspace to use for them, e.g.,

generate_workspace --declare=com.google:guava=my_guava --artifact=com.google:google-cloud-logging:1.2.3

Then any jars that depend on com.google:guava will assume that there a remote repository called "my_guava" that's already declared.

Relevant to #24.