Examples for bazelbuild/proposals#269
- Build and use Bazel from https://github.com/fmeum/bazel/tree/bzlmod-runfiles for the following steps.
- In the root of this repository, run
bazel run //:java_tool
andbazel run //:some_tool
to see examples of repository mapping manifests for Java and C++ targets. - In the
other_module
subdirectory, runbazel run @my_module//:java_tool
andbazel run @my_module//:some_tool
to see the same examples from the context of a different root module importingmy_module.