Releases: robolectric/robolectric-bazel
4.14.1.2
Bzlmod (MODULE.bazel)
If using Bazel 6, make sure you set the
--enable_bzlmod
flag
bazel_dep(name = "rules_robolectric", version = "4.14.1.2")
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.14.1.2",
],
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 = "b2d2164bae80fcfbdd078eb2f0935ba06557402b8c814928d9e3bec7358e2b7b",
strip_prefix = "robolectric-bazel-4.14.1.2",
urls = ["https://github.com/robolectric/robolectric-bazel/releases/download/4.14.1.2/robolectric-bazel-4.14.1.2.tar.gz"],
)
http_archive(
name = "rules_java",
sha256 = "8475fae7a95463a4fd323a46b0f5601f89863ba019afa358cc9fa1d0e67cdd63",
urls = [
"https://github.com/bazelbuild/rules_java/releases/download/8.6.0/rules_java-8.6.0.tar.gz",
],
)
load("@rules_java//java:rules_java_deps.bzl", "rules_java_dependencies")
rules_java_dependencies()
# note that the following line is what is minimally required from protobuf for the java rules
# consider using the protobuf_deps() public API from @com_google_protobuf//:protobuf_deps.bzl
load("@com_google_protobuf//bazel/private:proto_bazel_features.bzl", "proto_bazel_features") # buildifier: disable=bzl-visibility
proto_bazel_features(name = "proto_bazel_features")
# register toolchains
load("@rules_java//java:repositories.bzl", "rules_java_toolchains")
rules_java_toolchains()
http_archive(
name = "rules_python",
sha256 = "c6fb25d0ba0246f6d5bd820dd0b2e66b339ccc510242fd4956b9a639b548d113",
strip_prefix = "rules_python-0.37.2",
url = "https://github.com/bazelbuild/rules_python/releases/download/0.37.2/rules_python-0.37.2.tar.gz",
)
load("@rules_python//python:repositories.bzl", "py_repositories")
py_repositories()
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.14.1",
],
repositories = [
"https://maven.google.com",
"https://repo1.maven.org/maven2",
],
)
What's Changed
Full Changelog: 4.11.1.2...4.14.1.2
4.14.1.1
This release is recalled, please not using it.
4.11.1.2
This release is recalled, please not using it.
4.11.1.1
This release is recalled, please not using it.
4.14.1
Bzlmod (MODULE.bazel)
If using Bazel 6, make sure you set the
--enable_bzlmod
flag
bazel_dep(name = "rules_robolectric", version = "4.14.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.14.1",
],
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 = "bea2aaad74171fa011e39937c2e8ba2f3885614b1364bccba9ecbb51c5acbde0",
strip_prefix = "robolectric-bazel-4.14.1",
urls = ["https://github.com/robolectric/robolectric-bazel/releases/download/4.14.1/robolectric-bazel-4.14.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.14.1",
],
repositories = [
"https://maven.google.com",
"https://repo1.maven.org/maven2",
],
)
What's Changed
Full Changelog: 4.14...4.14.1
4.14
Bzlmod (MODULE.bazel)
If using Bazel 6, make sure you set the
--enable_bzlmod
flag
bazel_dep(name = "rules_robolectric", version = "4.14")
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.14",
],
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 = "a3c7632b96d651dd073ba0794da62dc7a4509710cc5dee3418fceadb9307c235",
strip_prefix = "robolectric-bazel-4.14",
urls = ["https://github.com/robolectric/robolectric-bazel/releases/download/4.14/robolectric-bazel-4.14.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.14",
],
repositories = [
"https://maven.google.com",
"https://repo1.maven.org/maven2",
],
)
What's Changed
- Bump bazel-contrib/.github from 6 to 7 by @dependabot in #115
- Support Robolectric 4.14-beta-1 by @utzcoz in #117
- Support Robolectric 4.14 by @utzcoz in #118
Full Changelog: 4.13...4.14
4.13
Bzlmod (MODULE.bazel)
If using Bazel 6, make sure you set the
--enable_bzlmod
flag
bazel_dep(name = "rules_robolectric", version = "4.13")
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.13",
],
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 = "a270fd6fd83f9f024623e787696e6b73c44664b7c95f3d937ed35bf0a94a67ae",
strip_prefix = "robolectric-bazel-4.13",
urls = ["https://github.com/robolectric/robolectric-bazel/releases/download/4.13/robolectric-bazel-4.13.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.13",
],
repositories = [
"https://maven.google.com",
"https://repo1.maven.org/maven2",
],
)
What's Changed
- Update Bazel to 7.1.2 by @Bencodes in #109
- Update buildifier_prebuilt to 6.4.0 by @Bencodes in #110
- Update buildifier_prebuilt to 6.4.0 in WORKSPACE by @Bencodes in #112
- Update bazel_skylib to 1.6.1 by @Bencodes in #111
- Update Bazel to 7.2.1 by @Bencodes in #113
- Update Robolectric to 4.13 by @Bencodes in #114
Full Changelog: 4.12.2...4.13
4.12.2
Bzlmod (MODULE.bazel)
If using Bazel 6, make sure you set the
--enable_bzlmod
flag
bazel_dep(name = "rules_robolectric", version = "4.12.2")
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.12.2",
],
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 = "f7b8e08f246f29f26fddd97b7ab5dfa01aaa6170ccc24b9b6a21931bde01ad6f",
strip_prefix = "robolectric-bazel-4.12.2",
urls = ["https://github.com/robolectric/robolectric-bazel/releases/download/4.12.2/robolectric-bazel-4.12.2.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.12.2",
],
repositories = [
"https://maven.google.com",
"https://repo1.maven.org/maven2",
],
)
What's Changed
Full Changelog: 4.12.1...4.12.2
4.12.1
Bzlmod (MODULE.bazel)
If using Bazel 6, make sure you set the
--enable_bzlmod
flag
bazel_dep(name = "rules_robolectric", version = "4.12.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.12.1",
],
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 = "f8d736fa09ef5ddaa315db20b6b20f867946bc78ffeff8ee4f29275b73c797d4",
strip_prefix = "robolectric-bazel-4.12.1",
urls = ["https://github.com/robolectric/robolectric-bazel/releases/download/4.12.1/robolectric-bazel-4.12.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.12.1",
],
repositories = [
"https://maven.google.com",
"https://repo1.maven.org/maven2",
],
)
What's Changed
Full Changelog: 4.12...4.12.1
4.12
Bzlmod (MODULE.bazel)
If using Bazel 6, make sure you set the
--enable_bzlmod
flag
bazel_dep(name = "rules_robolectric", version = "4.12")
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.12",
],
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 = "947c047613ab2b64798cbe46fe850931d5753e739af11f9ee6be675ff1afb5eb",
strip_prefix = "robolectric-bazel-4.12",
urls = ["https://github.com/robolectric/robolectric-bazel/releases/download/4.12/robolectric-bazel-4.12.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.12",
],
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
- Support Robolectric 4.12 by @utzcoz in #98
- Add windows and macos x86 & arm as CI running OSes by @utzcoz in #99
- Remove macos-14 from ci platform by @utzcoz in #100
- Add docs for publishing releases by @Bencodes in #102
- Update Bazel to 7.1.1 by @Bencodes in #103
- Add supported tag pattern: . by @utzcoz in #104
New Contributors
Full Changelog: 4.11.1...4.12