Skip to content

Commit 449381c

Browse files
Add Espresso dependencies and instrumented test configuration.
1 parent a327dc2 commit 449381c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

android/BOINC/app/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ android {
7676
// Required when setting minSdkVersion to 20 or lower
7777
multiDexEnabled true
7878
vectorDrawables.useSupportLibrary = true
79+
80+
testInstrumentationRunner = 'androidx.test.runner.AndroidJUnitRunner'
7981
}
8082

8183
buildTypes {
@@ -158,6 +160,10 @@ dependencies {
158160
testImplementation 'org.robolectric:robolectric:4.3.1'
159161
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junit5_version"
160162
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:$junit5_version"
163+
164+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0-beta02'
165+
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
166+
androidTestImplementation 'androidx.test:rules:1.3.0-beta02'
161167
}
162168
repositories {
163169
mavenCentral()

0 commit comments

Comments
 (0)