android-test
android-test copied to clipboard
Update `CONTRIBUTING.md` to add `--noexperimental_check_desugar_deps` to build commands
Description
Seems like --noexperimental_check_desugar_deps is needed to build this repo, but this is not mentioned in the CONTRIBUTING.md
Steps to Reproduce
If I run build :axt_m2repository or test //core/javatests/... --spawn_strategy=local --host_force_python=PY2
I run into this issue: https://github.com/bazelbuild/bazel/issues/9342
singlejar_cc_bin: external/remote_java_tools_linux/java_tools/src/tools/singlejar/singlejar_main.cc:27: Desugar checking not currently supported in Bazel.
Adding --noexperimental_check_desugar_deps works around it as described in https://github.com/bazelbuild/bazel/issues/9342
What bazel version are you using? This project's CI runs 'bazelisk build //:axt_m2repository which works'
Perhaps we should document to use bazelisk
I am using bazelisk, which downloads bazel 4.2.2 to run this build.