diff --git a/android/BOINC/app/build.gradle b/android/BOINC/app/build.gradle index ee0cabe49cf..77ba92b8a41 100644 --- a/android/BOINC/app/build.gradle +++ b/android/BOINC/app/build.gradle @@ -79,6 +79,8 @@ android { // Required when setting minSdkVersion to 20 or lower multiDexEnabled true vectorDrawables.useSupportLibrary = true + + testInstrumentationRunner = 'androidx.test.runner.AndroidJUnitRunner' } buildTypes { @@ -167,6 +169,10 @@ dependencies { testImplementation 'org.robolectric:robolectric:4.3.1' testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junit5_version" testRuntimeOnly "org.junit.vintage:junit-vintage-engine:$junit5_version" + + androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' + androidTestImplementation 'androidx.test.ext:junit:1.1.2' + androidTestImplementation 'androidx.test:rules:1.3.0' } repositories { mavenCentral()