Releases: robolectric/robolectric-bazel
4.11.1-1.0.0
Bzlmod (MODULE.bazel)
If using Bazel 6, make sure you set the
--enable_bzlmod
flag
bazel_dep(name = "rules_robolectric", version = "4.11.1-1.0.0")
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-1.0.0",
],
repositories = [
"https://maven.google.com",
"https://repo1.maven.org/maven2",
],
)
use_repo(maven, "maven")
Workspace
Add the robolectric
and rules_jvm_external
repositories in your WORKSPACE file:
http_archive(
name = "robolectric",
sha256 = "0eaaafc710880ab07817fbcc77f74f3d8ac0ec0d235e8d9e8dfe0c87a3f059b0",
strip_prefix = "robolectric-bazel-4.11.1-1.0.0",
urls = ["https://github.com/robolectric/robolectric-bazel/releases/download/4.11.1-1.0.0/robolectric-bazel-4.11.1-1.0.0.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
- Update release_prep.sh by @alexeagle in #89
- Bump actions/checkout from 3 to 4 by @dependabot in #90
- Bump actions/cache from 3 to 4 by @dependabot in #91
- Make robolectric-deps.properties public by @jylinv0 in #92
- Bump bazelbuild/setup-bazelisk from 2 to 3 by @dependabot in #93
- Update Bazel to 7.0.2 by @Bencodes in #94
- Add Bazel version to presubmit by @Bencodes in #96
- Bump bazel-contrib/.github from 5 to 6 by @dependabot in #97
New Contributors
Full Changelog: 4.11.1...4.11.1-1.0.0
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
4.11
What's Changed
- Update the maven coord version to 4.10.3 by @Bencodes in #68
- Add bzlmod example to CI by @Bencodes in #69
- Bump actions/checkout from 3 to 4 by @dependabot in #70
- Add Bzlmod setup instructions to README by @Bencodes in #71
- Update rules_jvm_external to 5.3 by @Bencodes in #72
- Update MODULE.bazel and WORKSPACE dependencies by @Bencodes in #74
- Support Robolectric 4.11 by @Bencodes in #76
- Revert .bcr presubmit changes by @Bencodes in #80
- Update examples to 4.11 and update to Java 17 by @Bencodes in #79
Full Changelog: 4.10.3...4.11
4.10.3
Support for Robolectric 4.10.3 release. The complete changelog can be found here.
http_archive(
name = "robolectric",
urls = ["https://github.com/robolectric/robolectric-bazel/archive/refs/tags/4.10.3.tar.gz"],
sha256 = "1b199a932cbde4af728dd8275937091adbb89a4bf63d326de49e6d0a42e723bf",
strip_prefix = "robolectric-bazel-4.10.3",
)
load("@robolectric//bazel:robolectric.bzl", "robolectric_repositories")
robolectric_repositories()
What's Changed
Full Changelog: 4.10.2...4.10.3
4.10.2
Support for Robolectric 4.10.2 release. The complete changelog can be found here.
http_archive(
name = "robolectric",
urls = ["https://github.com/robolectric/robolectric-bazel/archive/refs/tags/4.10.1.tar.gz"],
sha256 = "9e8200d35bdef40b6299d923fd89b1825dea0e5d7c3f4df0391fa439bd1a0861",
strip_prefix = "robolectric-bazel-4.10.2",
)
load("@robolectric//bazel:robolectric.bzl", "robolectric_repositories")
robolectric_repositories()
What's Changed
Full Changelog: 4.10.1...4.10.2
4.10.1
Support for Robolectric 4.10 release. The complete changelog can be found here.
http_archive(
name = "robolectric",
urls = ["https://github.com/robolectric/robolectric-bazel/archive/refs/tags/4.10.1.tar.gz"],
sha256 = "faf56e2182082ee4975649440d456c4ed68164014ff1daf28c118abce35ce0ad",
strip_prefix = "robolectric-bazel-4.10.1",
)
load("@robolectric//bazel:robolectric.bzl", "robolectric_repositories")
robolectric_repositories()
What's Changed
Full Changelog: 4.10...4.10.1
4.10
Support for Robolectric 4.10 release. The complete changelog can be found here.
http_archive(
name = "robolectric",
urls = ["https://github.com/robolectric/robolectric-bazel/archive/refs/tags/4.10.tar.gz"],
sha256 = "2929e39c81502e03628f1469d0f7fb411dd82d8c6d75244752bc2f6b537c5baa",
strip_prefix = "robolectric-bazel-4.10",
)
load("@robolectric//bazel:robolectric.bzl", "robolectric_repositories")
robolectric_repositories()
What's Changed
- Bump actions/checkout from 3.2.0 to 3.3.0 by @dependabot in #49
- Bump actions/checkout from 3.3.0 to 3.4.0 by @dependabot in #51
- Bump actions/checkout from 3.4.0 to 3.5.0 by @dependabot in #52
- Use github workflows major version by @Bencodes in #53
- Update buildifier_prebuilt to 6.1.0 by @Bencodes in #54
- Add example app by @Bencodes in #56
- Update .gitignore with more exclusions by @Bencodes in #57
- Migrate to http_jar from jvm_maven_import_external by @Bencodes in #55
- Add support for bzlmod by @Bencodes in #58
- Add Bazelmod BCR configuration by @Bencodes in #59
- Support Robolectric 4.10 by @Bencodes in #60
- Update source.template.json to use a stable URL by @Bencodes in #62
- Rename robolectric -> rules_robolectric by @Bencodes in #63
Full Changelog: 4.9.2...4.10
4.9.2
Support for Robolectric 4.9.2 release. The complete changelog can be found here.
http_archive(
name = "robolectric",
urls = ["https://github.com/robolectric/robolectric-bazel/archive/4.9.2.tar.gz"],
sha256 = "7e007fcfdca7b7228cb4de72707e8b317026ea95000f963e91d5ae365be52d0d",
strip_prefix = "robolectric-bazel-4.9.2",
)
load("@robolectric//bazel:robolectric.bzl", "robolectric_repositories")
robolectric_repositories()
Full Changelog: 4.9.1...4.9.2
4.9.1
Support for Robolectric 4.9.1 release. The complete changelog can be found here.
http_archive(
name = "robolectric",
urls = ["https://github.com/robolectric/robolectric-bazel/archive/4.9.1.tar.gz"],
sha256 = "7655c49633ec85a18b5a94b1ec36e250671808e45494194959b1d1d7f3e73a23",
strip_prefix = "robolectric-bazel-4.9.1",
)
load("@robolectric//bazel:robolectric.bzl", "robolectric_repositories")
robolectric_repositories()
What's Changed
- [CI] Add job for linting starlark by @Bencodes in #37
- Update the README to point to the latest version of rules_jvm_external by @Bencodes in #38
- Bump rules_jvm_external to 4.5 by @utzcoz in #39
- Enable dependabot for github-actions by @utzcoz in #40
- Bump actions/setup-java from 2 to 3 by @dependabot in #43
- Bump bazelbuild/setup-bazelisk from 1 to 2 by @dependabot in #42
- Bump actions/checkout from 2.3.1 to 3.1.0 by @dependabot in #41
- Remove an extra empty line for README.md by @utzcoz in #44
- Support Robolectric 4.9.1 by @Bencodes in #45
- Bump actions/checkout from 3.1.0 to 3.2.0 by @dependabot in #46
New Contributors
- @dependabot made their first contribution in #43
Full Changelog: 4.9...4.9.1
4.9
Support for Robolectric 4.9 release. The complete changelog can be found here.
http_archive(
name = "robolectric",
urls = ["https://github.com/robolectric/robolectric-bazel/archive/4.9.tar.gz"],
sha256 = "7655c49633ec85a18b5a94b1ec36e250671808e45494194959b1d1d7f3e73a23",
strip_prefix = "robolectric-bazel-4.9",
)
load("@robolectric//bazel:robolectric.bzl", "robolectric_repositories")
robolectric_repositories()