Upgrade to Robolectric 4.6.1
Explictly instrument (allow mocking) of various androidx packages,
as Robolectric no longer automatically instruments androidx.*
(https://github.com/robolectric/robolectric/pull/6188)
Increase memory for certain projects that were hitting heap limit
Test: ./gradlew test
Change-Id: I4e0269e6251c0ba3f2244cf92bff608a8416661b
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 68c29b3..faf3192 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -141,7 +141,7 @@
protobufLite = { module = "com.google.protobuf:protobuf-javalite", version = "3.10.0" }
reactiveStreams = { module = "org.reactivestreams:reactive-streams", version = "1.0.0" }
retrofit = { module = "com.squareup.retrofit2:retrofit", version = "2.7.2" }
-robolectric = { module = "org.robolectric:robolectric", version = "4.5.1" }
+robolectric = { module = "org.robolectric:robolectric", version = "4.6.1" }
rxjava2 = { module = "io.reactivex.rxjava2:rxjava", version = "2.2.9" }
rxjava3 = { module = "io.reactivex.rxjava3:rxjava", version = "3.0.0" }
shadow = { module = "com.github.jengelman.gradle.plugins:shadow", version = "6.1.0" }