build(Android): Apply hamcrest v2.2 as an explicit dep (#3956)

This commit is contained in:
d4vidi
2023-02-28 15:55:57 +02:00
committed by GitHub
parent b7de77d4b0
commit 484cf4a3f5
+4 -1
View File
@@ -99,6 +99,9 @@ dependencies {
because 'Android datepicker support'
exclude group: "org.checkerframework", module: "checker"
}
api('org.hamcrest:hamcrest:2.2') {
because 'See https://github.com/wix/Detox/issues/3920. Need to force hamcrest 2.2 win in battle of 2.2 vs. 1.3 (specified by Espresso).'
}
api('androidx.test:rules:1.4.0') {
because 'of ActivityTestRule. Needed by users *and* internally used by Detox.'
}
@@ -145,7 +148,7 @@ dependencies {
// Spek (https://spekframework.org/setup-android)
if (rootProject.hasProperty('isOfficialDetoxLib') ||
rootProject.hasProperty('isOfficialDetoxApp')) {
apply plugin: 'de.mannodermaus.android-junit5'
android {