Add licensing with rules_license
Currently, we have no licensing in the module. rules_license can be used to add licensing by providing Bazel rules for applying the licensing and propagating them through the build graph.
We should add an MIT license and register it using via the @rules_license//rules:license.bzl
rule:
license(
name = "license",
...
)
The license
target should then be associated to all targets in the module in REPO.bazel
We have a done a similar thing in bazel/toolchain_utils
Edited by Tomer Shterenberg