bazelbuild / BUILD_file_generator

Generate BUILD files for your Java files
Apache License 2.0
39 stars 19 forks source link

Please stop using native.maven_jar #48

Open dkelmer opened 5 years ago

dkelmer commented 5 years ago

See https://github.com/bazelbuild/bazel/issues/6799 for more details.

In your case, you should update the version of bazel-deps that you're using (https://github.com/bazelbuild/BUILD_file_generator/blob/master/dev-scripts/dependencies/setup.sh#L9) to get this done. Newer versions don't use the native maven_jar rule anymore, they use their own implementation of a repository rule.

This has been an incompatible change for 2 releases (0.22 and 0.23) and will become the default in Bazel 0.24