4.11.1
Bzlmod (MODULE.bazel)
If using Bazel 6, make sure you set the
--enable_bzlmod
flag
bazel_dep(name = "rules_robolectric", version = "4.11.1")
bazel_dep(name = "rules_jvm_external", version = "5.3")
maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven")
maven.install(
artifacts = [
"org.robolectric:robolectric:4.11.1",
],
repositories = [
"https://maven.google.com",
"https://repo1.maven.org/maven2",
],
)
use_repo(maven, "maven")
Workspace
Add the and repositories in your WORKSPACE file:
http_archive(
name = "robolectric",
sha256 = "1ea1cfe67848decf959316e80dd69af2bbaa359ae2195efe1366cbdf3e968356",
strip_prefix = "robolectric-bazel-4.11.1",
urls = ["https://github.com/robolectric/robolectric-bazel/releases/download/4.11.1/robolectric-bazel-4.11.1.tar.gz"],
)
load("@robolectric//bazel:robolectric.bzl", "robolectric_repositories")
robolectric_repositories()
http_archive(
name = "rules_jvm_external",
sha256 = "d31e369b854322ca5098ea12c69d7175ded971435e55c18dd9dd5f29cc5249ac",
strip_prefix = "rules_jvm_external-5.3",
url = "https://github.com/bazelbuild/rules_jvm_external/releases/download/5.3/rules_jvm_external-5.3.tar.gz",
)
load("@rules_jvm_external//:defs.bzl", "maven_install")
maven_install(
name = "maven",
artifacts = [
"com.google.truth:truth:1.1.3",
"org.robolectric:robolectric:4.11.1",
],
repositories = [
"https://maven.google.com",
"https://repo1.maven.org/maven2",
],
)
What's Changed
- Support Robolectric 4.11.1 by @Bencodes in #77
- chore: automate releases by pushing a tag by @alexeagle in #81
- Add CI Bazelrc to workflows directory by @Bencodes in #82
- Move buildifier into it's own workflow by @Bencodes in #83
- Break up the integration tests into jobs using test matrix by @Bencodes in #84
- Add test target for the release job to run by @Bencodes in #85
- Make release_prep.sh executable by @Bencodes in #86
- Fix type in release process by @Bencodes in #87
New Contributors
- @alexeagle made their first contribution in #81
Full Changelog: 4.11...4.11.1