Skip to content

Releases: robolectric/robolectric-bazel

4.12.1

04 Apr 02:44
Compare
Choose a tag to compare

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

31 Mar 05:19
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: 4.11.1...4.12

4.11.1-1.0.0

08 Mar 06:02
10d19a7
Compare
Choose a tag to compare
4.11.1-1.0.0 Pre-release
Pre-release

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

New Contributors

Full Changelog: 4.11.1...4.11.1-1.0.0

4.11.1

02 Nov 22:10
6c8cbf7
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: 4.11...4.11.1

4.11

02 Nov 00:05
b1c83b5
Compare
Choose a tag to compare

What's Changed

Full Changelog: 4.10.3...4.11

4.10.3

19 May 02:53
df665e5
Compare
Choose a tag to compare

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

11 May 17:47
431df50
Compare
Choose a tag to compare

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

03 May 01:20
9b9b3b5
Compare
Choose a tag to compare

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

17 Apr 21:48
0d58aa2
Compare
Choose a tag to compare

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

Full Changelog: 4.9.2...4.10

4.9.2

17 Apr 21:22
99eb406
Compare
Choose a tag to compare

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