blob: 3cf488eb90e86439f3b7b13a34eb3f934d000242 [file] [edit]
# 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-uploadvalidator")
local_path_override(
module_name = "gerrit-uploadvalidator",
path = "plugins/uploadvalidator",
)
use_repo(maven, "uploadvalidator_plugin_deps")