Automated Dependency Updates for Bazel Module
Categories: bazel
Renovate supports updating Bazel Module dependencies.
File Matching¶
By default, Renovate will check any files matching the following regular expression: (^|/)MODULE\.bazel$
.
For details on how to extend a manager's fileMatch
value, please follow this link.
Supported datasources¶
This manager supports extracting the following datasources: bazel
, github-tags
, maven
.
Default config¶
{
"fileMatch": [
"(^|/)MODULE\\.bazel$"
]
}
Additional Information¶
The bazel-module
manager can update Bazel module (bzlmod) enabled workspaces.
It also takes care about maven artifacts initalized with bzlmod. For simplicity the name of extension variable is limited to maven*
. E.g.:
maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven")
maven_1 = use_extension("@rules_jvm_external//:extensions.bzl", "maven")
Both install
and artifact
methods are supported:
maven.install(
artifacts = [
"org.seleniumhq.selenium:selenium-java:4.4.0",
],
)
maven.artifact(
artifact = "javapoet",
group = "com.squareup",
neverlink = True,
version = "1.11.1",
)