Skip to content

Commit

Permalink
Deps: Update robolectric to 4.9
Browse files Browse the repository at this point in the history
This is done because otherwise the 'testDebugUnitTest' task fails the
test, when run on command line, with the below 'ClassNotFoundException'
error:

------------------------------------------------------------------------

java.lang.NoClassDefFoundError: android/content/ContentResolver
...
Caused by: java.lang.ClassNotFoundException:
couldn't load android.content.ContentResolver
...
Caused by: java.lang.IllegalArgumentException:
Unsupported class file major version 61"

------------------------------------------------------------------------

Release Link: https://github.com/robolectric/robolectric/releases/tag/
robolectric-4.9
  • Loading branch information
ParaskP7 committed Nov 17, 2022
1 parent 5ec4439 commit 310d583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ ext {
tagSoupVersion = '1.2.1'
glideVersion = '4.10.0'
picassoVersion = '2.5.2'
robolectricVersion = '4.4'
robolectricVersion = '4.9'
jUnitVersion = '4.12'
jSoupVersion = '1.11.3'
wordpressUtilsVersion = 'trunk-1ed207c03d2242b6fc3d74f9e388e9163cbc82a6'
Expand Down

0 comments on commit 310d583

Please sign in to comment.