Commit ef61d81d by ibaker Committed by kim-vde

Upgrade to Robolectric 4.6

The tests now pass without @DoNotInstrument

I had to tweak the jetification settings due to a bug in the jetifier
shipped with the Android Gradle Plugin. More details:
https://github.com/robolectric/robolectric/issues/6521#issuecomment-851736355

PiperOrigin-RevId: 382757006
parent ee426822
Showing with 3 additions and 1 deletions
......@@ -24,7 +24,7 @@ project.ext {
guavaVersion = '27.1-android'
mockitoVersion = '3.4.0'
mockWebServerVersion = '3.12.0'
robolectricVersion = '4.5.1'
robolectricVersion = '4.6'
checkerframeworkVersion = '3.3.0'
checkerframeworkCompatVersion = '2.5.0'
jsr305Version = '3.0.2'
......
## Project-wide Gradle settings.
android.useAndroidX=true
android.enableJetifier=true
# https://github.com/robolectric/robolectric/issues/6521#issuecomment-851736355
android.jetifier.blacklist=bcprov
buildDir=buildout
org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment