BUILD_file_generator icon indicating copy to clipboard operation
BUILD_file_generator copied to clipboard

Please stop using native.maven_jar

Open dkelmer opened this issue 6 years ago • 0 comments

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

dkelmer avatar Feb 07 '19 16:02 dkelmer