| module(name = "path-mapping-example") | |
| bazel_dep(name = "rules_java", version = "8.9.0") | |
| bazel_dep(name = "rules_kotlin", version = "1.9.5") | |
| local_path_override( | |
| module_name = "rules_kotlin", | |
| path = "../..", | |
| ) | |
| bazel_dep(name = "bazel_features", version = "1.39.0") | |
| # The local toolchain declares path mapping support; without this registration the | |
| # rules_kotlin default toolchain (no path mapping) would win and the example would | |
| # silently build unmapped. | |
| register_toolchains("//:kotlin_toolchain") |