Skip to content

Commit

Permalink
Update to robolectric 4.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
brettchabot committed Sep 1, 2020
1 parent 86314ff commit 9e4b348
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 1 addition & 3 deletions WORKSPACE
Expand Up @@ -105,9 +105,7 @@ maven_install(
"org.mockito:mockito-core:2.25.0",
"org.objenesis:objenesis:2.1",
"org.pantsbuild:jarjar:1.7.2",
"org.robolectric:robolectric:4.0.1",
"org.robolectric:shadowapi:4.0.1",
"org.robolectric:shadows-framework:4.0.1",
"org.robolectric:robolectric:4.4",
],
repositories = [
"https://maven.google.com",
Expand Down
1 change: 1 addition & 0 deletions ext/junit/javatests/androidx/test/ext/junit/BUILD.bazel
Expand Up @@ -31,6 +31,7 @@ android_library_local_tests(
"//:androidx_lifecycle_common",
"//core/java/androidx/test/core",
"//core/javatests/androidx/test/core/app/testing",
"//core/javatests/androidx/test/core/app/testing:manifest",
"//ext/junit",
"//ext/truth",
"//runner/monitor/java/androidx/test:monitor",
Expand Down
1 change: 1 addition & 0 deletions ext/truth/javatests/androidx/test/ext/truth/BUILD.bazel
Expand Up @@ -30,6 +30,7 @@ android_library_local_tests(
deps = [
"//core",
"//core/javatests/androidx/test/core/app/testing",
"//core/javatests/androidx/test/core/app/testing:manifest",
"//ext/junit",
"//ext/truth",
"//runner/rules",
Expand Down
14 changes: 7 additions & 7 deletions repo.bzl
Expand Up @@ -18,16 +18,16 @@ def _development_repositories():

http_archive(
name = "robolectric",
sha256 = "2ee850ca521288db72b0dedb9ecbda55b64d11c470435a882f8daf615091253d",
strip_prefix = "robolectric-bazel-4.1",
urls = ["https://github.com/robolectric/robolectric-bazel/archive/4.1.tar.gz"],
sha256 = "d4f2eb078a51f4e534ebf5e18b6cd4646d05eae9b362ac40b93831bdf46112c7",
strip_prefix = "robolectric-bazel-4.4",
urls = ["https://github.com/robolectric/robolectric-bazel/archive/4.4.tar.gz"],
)
# uncomment to test with new robolectric version. Change path to point to local filesystem
# clone of https://github.com/robolectric/robolectric-bazel
#native.local_repository(
# name = "robolectric",
# path = "~/robogithub/robolectric-bazel/",
#)
# native.local_repository(
# name = "robolectric",
# path = "~/github/robolectric-bazel/",
# )

http_archive(
name = "jsr330",
Expand Down

0 comments on commit 9e4b348

Please sign in to comment.