diff --git a/MODULE.bazel b/MODULE.bazel
index 0b1e7eec1..bb0038dfe 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -1,10 +1,10 @@
module(
name = "rules_jvm_external",
- version = "4.4.2",
+ version = "4.5",
)
-bazel_dep(name = "bazel_skylib", version = "1.2.1")
-bazel_dep(name = "stardoc", repo_name = "io_bazel_stardoc", version = "0.5.1")
+bazel_dep(name = "bazel_skylib", version = "1.3.0")
+bazel_dep(name = "stardoc", repo_name = "io_bazel_stardoc", version = "0.5.3")
non_module_deps = use_extension("//:non-module-deps.bzl", "non_module_deps")
diff --git a/WORKSPACE b/WORKSPACE
index a83bb0679..6b1a3e018 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -26,10 +26,10 @@ rules_jvm_external_setup()
http_archive(
name = "io_bazel_stardoc",
- sha256 = "05fb57bb4ad68a360470420a3b6f5317e4f722839abc5b17ec4ef8ed465aaa47",
+ sha256 = "3fd8fec4ddec3c670bd810904e2e33170bedfe12f90adf943508184be458c8bb",
urls = [
- "https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.5.2/stardoc-0.5.2.tar.gz",
- "https://github.com/bazelbuild/stardoc/releases/download/0.5.2/stardoc-0.5.2.tar.gz",
+ "https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz",
+ "https://github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz",
],
)
diff --git a/WORKSPACE.bzl b/WORKSPACE.bzl
new file mode 100644
index 000000000..c7bbb2383
--- /dev/null
+++ b/WORKSPACE.bzl
@@ -0,0 +1 @@
+workspace(name = "rules_jvm_external")
\ No newline at end of file
diff --git a/docs/api.md b/docs/api.md
index 95edae1dc..8f08053a4 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -44,7 +44,7 @@ Generate a javadoc from all the `deps`
| :------------- | :------------- | :------------- | :------------- | :------------- |
| name | A unique name for this target. | Name | required | |
| deps | The java libraries to generate javadocs for.
The source jars of each dep will be used to generate the javadocs. Currently docs for transitive dependencies are not generated. | List of labels | required | |
-| javadocopts | javadoc options. Note sources and classpath are derived from the deps. Any additional options can be passed here. | List of strings | optional | [] |
+| javadocopts | javadoc options. Note sources and classpath are derived from the deps. Any additional options can be passed here. | List of strings | optional | []
|
@@ -104,7 +104,7 @@ Generated rules:
| :------------- | :------------- | :------------- |
| name | A unique name for this target | none |
| maven_coordinates | The maven coordinates for this target. | none |
-| deploy_env | A list of labels of java targets to exclude from the generated jar | []
|
+| deploy_env | A list of labels of Java targets to exclude from the generated jar. [java_binary
](https://bazel.build/reference/be/java#java_binary) targets are *not* supported. | []
|
| pom_template | The template to be used for the pom.xml file. | None
|
| visibility | The visibility of the target | None
|
| tags |
-
|[]
|
@@ -185,8 +185,8 @@ maven_install(name, use_unsafe_shared_cache, excluded_artifacts, generate_compat_repositories,
version_conflict_policy, maven_install_json, override_targets, strict_visibility,
strict_visibility_value, resolve_timeout, jetify, jetify_include_list,
- additional_netrc_lines, fail_if_repin_required, use_starlark_android_rules,
- aar_import_bzl_label, duplicate_version_warning)
+ additional_netrc_lines, use_credentials_from_home_netrc_file, fail_if_repin_required,
+ use_starlark_android_rules, aar_import_bzl_label, duplicate_version_warning)
Resolves and fetches artifacts transitively from Maven repositories.
@@ -203,7 +203,7 @@ and fetch Maven artifacts transitively.
| name | A unique name for this Bazel external repository. | "maven"
|
| repositories | A list of Maven repository URLs, specified in lookup order.[]
|
| artifacts | A list of Maven artifact coordinates in the form of group:artifact:version
. | []
|
-| fail_on_missing_checksum | -
|True
|
+| fail_on_missing_checksum | fail the fetch if checksum attributes are not present. | True
|
| fetch_sources | Additionally fetch source JARs. | False
|
| fetch_javadoc | Additionally fetch javadoc JARs. | False
|
| use_unsafe_shared_cache | Download artifacts into a persistent shared cache on disk. Unsafe as Bazel is currently unable to detect modifications to the cache. | False
|
@@ -218,6 +218,7 @@ and fetch Maven artifacts transitively.
| jetify | Runs the AndroidX [Jetifier](https://developer.android.com/studio/command-line/jetifier) tool on artifacts specified in jetify_include_list. If jetify_include_list is not specified, run Jetifier on all artifacts. | False
|
| jetify_include_list | List of artifacts that need to be jetified in groupId:artifactId
format. By default all artifacts are jetified if jetify
is set to True. | ["*"]
|
| additional_netrc_lines | Additional lines prepended to the netrc file used by http_file
(with maven_install_json
only). | []
|
+| use_credentials_from_home_netrc_file | Whether to pass machine login credentials from the ~/.netrc file to coursier. | False
|
| fail_if_repin_required | Whether to fail the build if the required maven artifacts have been changed but not repinned. Requires the maven_install_json
to have been set. | False
|
| use_starlark_android_rules | Whether to use the native or Starlark version of the Android rules. Default is False. | False
|
| aar_import_bzl_label | The label (as a string) to use to import aar_import from. This is usually needed only if the top-level workspace file does not use the typical default repository name to import the Android Starlark rules. Default is "@build_bazel_rules_android//rules:rules.bzl". | "@build_bazel_rules_android//android:rules.bzl"
|
diff --git a/repositories.bzl b/repositories.bzl
index afdd3ca90..e039dcde1 100644
--- a/repositories.bzl
+++ b/repositories.bzl
@@ -13,10 +13,10 @@ def rules_jvm_external_deps(repositories = _DEFAULT_REPOSITORIES):
maybe(
http_archive,
name = "bazel_skylib",
- sha256 = "f7be3474d42aae265405a592bb7da8e171919d74c16f082a5457840f06054728",
+ sha256 = "74d544d96f4a5bb630d465ca8bbcfe231e3594e5aae57e1edbf17a6eb3ca2506",
urls = [
- "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.2.1/bazel-skylib-1.2.1.tar.gz",
- "https://github.com/bazelbuild/bazel-skylib/releases/download/1.2.1/bazel-skylib-1.2.1.tar.gz",
+ "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
+ "https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
],
)