| # Module fragment for wiring this plugin's Bazel module into the | |
| # Gerrit in-tree build when using Bzlmod. | |
| # | |
| # This file is included from Gerrit's plugins/external_plugin_deps.MODULE.bazel. | |
| # It wires the plugin module into the root dependency graph and exposes | |
| # any repositories it creates (for example via rules_jvm_external). | |
| # | |
| # NOTE: This file must be self-contained: bindings do not cross include() | |
| # boundaries, so it re-declares the rules_jvm_external extension handle. | |
| maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven") | |
| bazel_dep(name = "gerrit-saml") | |
| local_path_override( | |
| module_name = "gerrit-saml", | |
| path = "plugins/saml", | |
| ) | |
| use_repo(maven, "saml_plugin_deps") |