Дубликат класса org.hamcrest.BaseDescription найден в следующих модулях , Как решить? - PullRequest
4 голосов
/ 29 апреля 2019

Дубликат класса org.hamcrest.BaseDescription обнаружен в следующих модулях: hamcrest-all-1.3.jar (org.hamcrest: hamcrest-all: 1.3), hamcrest-core-1.3.jar (org.hamcrest: hamcrest-core: 1.3) и mockito-all-2.0.2-beta.jar (org.mockito: mockito-all: 2.0.2-beta)

implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.core:core-ktx:1.0.1'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'org.mockito:mockito-all:2.0.2-beta'
androidTestImplementation "org.hamcrest:hamcrest-all:1.3"
androidTestImplementation 'androidx.test:core:1.1.0'
androidTestImplementation 'androidx.test:rules:1.1.1'
androidTestImplementation 'androidx.test:runner:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
...