Skip to content

Commit

Permalink
Update bazel_skylib to 1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Bencodes committed May 18, 2024
1 parent fdd9a8e commit eebe9fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ use_repo(
)

bazel_dep(name = "rules_java", version = "7.0.6")
bazel_dep(name = "bazel_skylib", version = "1.6.1")

bazel_dep(name = "bazel_skylib", version = "1.4.2", dev_dependency = True)
bazel_dep(name = "buildifier_prebuilt", version = "6.3.3", dev_dependency = True)
4 changes: 3 additions & 1 deletion bazel/extensions.bzl
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
"""Definitions for bzlmod module extensions."""

load("@bazel_skylib//lib:modules.bzl", "modules")
load(":robolectric.bzl", "robolectric_repositories")

def _robolectric_repository_extensions_impl(_):
def _robolectric_repository_extensions_impl(mctx):
robolectric_repositories()
return modules.use_all_repos(mctx, reproducible = True)

robolectric_repository_extensions = module_extension(implementation = _robolectric_repository_extensions_impl)

0 comments on commit eebe9fd

Please sign in to comment.