Skip to content

Commit

Permalink
Workaround of com.android.tools.r8.errors.a: MethodHandle.invoke and …
Browse files Browse the repository at this point in the history
…MethodHandle.invokeExact are only supported starting with Android O

Cause: easymock/objenesis#79
  • Loading branch information
olegivo committed Nov 7, 2020
1 parent 564e7ae commit 352c9ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ android.sourceSets {
}

configurations.all {
resolutionStrategy.force 'org.objenesis:objenesis:2.6'
resolutionStrategy.eachDependency { details ->
if (details.requested.group == 'androidx.arch.core'
&& !details.requested.name.contains('core-runtime')) {
Expand Down

0 comments on commit 352c9ae

Please sign in to comment.