From c123767ae06d74f1b295ff3b7e2d5561dc6e264c Mon Sep 17 00:00:00 2001 From: Yusuke Matsubara Date: Fri, 1 Jun 2018 15:37:59 +0900 Subject: [PATCH] Add dependencies to com.android.support.test.rules and runner Needed for ActivityTestRule used in SettingsActivityTest --- app/build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index fad3eccd8..46da62b16 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -75,6 +75,8 @@ dependencies { androidTestImplementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version" androidTestImplementation 'com.squareup.okhttp3:mockwebserver:3.8.1' androidTestImplementation "com.android.support:support-annotations:$SUPPORT_LIB_VERSION" + androidTestImplementation 'com.android.support.test:rules:1.0.2' + androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' debugImplementation "com.squareup.leakcanary:leakcanary-android:$LEAK_CANARY"