Add dependencies to com.android.support.test.rules and runner

Needed for ActivityTestRule used in SettingsActivityTest
This commit is contained in:
Yusuke Matsubara 2018-06-01 15:37:59 +09:00
parent ac8bb10a14
commit c123767ae0

View file

@ -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"