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
This commit is contained in:
parent
ee426822ee
commit
ef61d81d8d
@ -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'
|
||||
|
@ -1,5 +1,7 @@
|
||||
## 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user