upgrade mockito, disable jetifying byte-buddy

byte-buddy is a mockito dependency. it introduced java modules, and
jetifier cannot deal with it.  disable jetifying at the moment, as
suggested after considering:
https://stackoverflow.com/questions/52816022/failed-to-resolve-variable-project-groupid
https://issuetracker.google.com/issues/119135578#comment5
https://github.com/raphw/byte-buddy/issues/541
This commit is contained in:
soloturn 2019-02-24 17:09:33 +01:00 committed by Isaac Hutt
parent ec97df3ae6
commit 3096562cd1
2 changed files with 4 additions and 1 deletions

View File

@ -31,7 +31,7 @@ ext {
set("apacheCommonsVersion", "2.6")
set("multidexVersion", "2.0.1")
set("jUnitVersion", "4.12")
set("mockitoVersion", "2.19.1")
set("mockitoVersion", "2.24.5")
set("powerMockVersion", "1.6.6")
set("powerMockJUnitVersion", "1.7.4")
set("baristaVersion", "2.7.1")

View File

@ -2,6 +2,9 @@ android.enableD8=true
android.enableD8.desugaring=true
android.enableJetifier=true
#android.enableSeparateAnnotationProcessing=true
# disable jetifying byte-buddy
# https://stackoverflow.com/questions/52816022/failed-to-resolve-variable-project-groupid
android.jetifier.blacklist=byte-buddy
android.useAndroidX=true
org.gradle.jvmargs=-Xmx4096m