Members
- archive_override
- bazel_dep
- flag_alias
- git_override
- include
- inject_repo
- local_path_override
- module
- multiple_version_override
- override_repo
- register_execution_platforms
- register_toolchains
- single_version_override
- use_extension
- use_repo
- use_repo_rule
archive_override
http_archive rule.
This directive only takes effect in the root module; in other words, if a module is
used as a dependency by others, its own overrides are ignored.
Parameters
bazel_dep
Parameters
flag_alias
Parameters
git_override
git_repository rule.
This directive only takes effect in the root module; in other words, if a module is
used as a dependency by others, its own overrides are ignored.
Parameters
include
include() behaves as if the included file is textually placed at the location of the include() call, except that variable bindings (such as those used for use_extension) are only ever visible in the file they occur in, not in any included or including files.
Only the root module and modules subject to a non-registry override may use include().
Only files in the current module’s repo may be included.
include() allows you to segment a module file into multiple parts, to avoid having an enormous MODULE.bazel file or to better manage access control for individual semantic segments.
Parameters
inject_repo
--ignore_dev_dependency is enabled.
Use override_repo instead to override an
existing repo.
Parameters
local_path_override
local_repository rule.
This directive only takes effect in the root module; in other words, if a module is
used as a dependency by others, its own overrides are ignored.
Parameters
module
Parameters
multiple_version_override
Parameters
override_repo
--ignore_dev_dependency is enabled.
Use inject_repo instead to add a new repo.
Parameters
register_execution_platforms
@ or //). See toolchain resolution for more information. Patterns that expand to multiple targets, such as :all, will be registered in lexicographical order by name.
Parameters
register_toolchains
@ or //). See toolchain resolution for more information. Patterns that expand to multiple targets, such as :all, will be registered in lexicographical order by target name (not the name of the toolchain implementation).
Parameters
single_version_override
Parameters
use_extension
Parameters
use_repo
Parameters
use_repo_rule
name attribute on the proxy. The implicit Boolean dev_dependency attribute can also be used on the proxy to denote that a certain repo is only to be created when the current module is the root module.