From 3dcb4a94d261371be88765d457b6cfa926a2e0b6 Mon Sep 17 00:00:00 2001 From: Mike Hardy Date: Mon, 10 Sep 2018 15:54:33 -0500 Subject: [PATCH] Isolate support libs in test dependencies --- AnkiDroid/build.gradle | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/AnkiDroid/build.gradle b/AnkiDroid/build.gradle index 4c8cb5a82dcf..42e96f9278d6 100644 --- a/AnkiDroid/build.gradle +++ b/AnkiDroid/build.gradle @@ -130,8 +130,14 @@ dependencies { testImplementation 'org.hamcrest:hamcrest-all:1.3' testImplementation 'net.lachlanmckee:timber-junit-rule:1.0.1' - androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' - androidTestImplementation 'com.android.support.test:runner:1.0.2' - androidTestImplementation 'com.android.support.test:rules:1.0.2' + androidTestImplementation('com.android.support.test.espresso:espresso-core:3.0.2') { + exclude group: 'com.android.support' + } + androidTestImplementation('com.android.support.test:runner:1.0.2') { + exclude group: 'com.android.support' + } + androidTestImplementation('com.android.support.test:rules:1.0.2') { + exclude group: 'com.android.support' + } androidTestUtil 'com.android.support.test:orchestrator:1.0.2' }