Compatibility issue with bazel 6 #1302
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Steps to reproduce
bazel --version
If I downgrade to bazel 5.2.0 the targets build successfully. The issue is that
rules_gapic_java
depends onpkg_tar
which was removed in bazel 6.0.0. See packaging section in release notes here. There is a note that says users should migrate to@rules_pkg
.We should change this line from
https://github.com/googleapis/gapic-generator-java/blob/d1a16195937df041f65a52717ddf9dc6ceb09b4f/rules_java_gapic/BUILD.bazel#L1
to
I tested the above change locally and the build succeeded with bazel 6.0.0.
The text was updated successfully, but these errors were encountered: