Skip to content

Commit d097d12

Browse files
Add Espresso dependencies and instrumented test configuration.
1 parent ae8d309 commit d097d12

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
@@ -79,6 +79,8 @@ android {
7979
// Required when setting minSdkVersion to 20 or lower
8080
multiDexEnabled true
8181
vectorDrawables.useSupportLibrary = true
82+
83+
testInstrumentationRunner = 'androidx.test.runner.AndroidJUnitRunner'
8284
}
8385

8486
buildTypes {
@@ -167,6 +169,10 @@ dependencies {
167169
testImplementation 'org.robolectric:robolectric:4.3.1'
168170
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junit5_version"
169171
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:$junit5_version"
172+
173+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
174+
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
175+
androidTestImplementation 'androidx.test:rules:1.3.0'
170176
}
171177
repositories {
172178
mavenCentral()

0 commit comments

Comments
 (0)