Cleanup imports of mockito2 not to include bytebuddy.
This is a follow up from ag/2589347
Bug: 63999442
Test: None
Change-Id: I846c0a566c690d84edffe0ec792f7d270e40311e
diff --git a/v13/build.gradle b/v13/build.gradle
index 8019c0e..95ff484 100644
--- a/v13/build.gradle
+++ b/v13/build.gradle
@@ -4,14 +4,10 @@
api project(':support-annotations')
api project(':support-v4')
- androidTestImplementation (libs.test_runner) {
- exclude module: 'support-annotations'
- }
- androidTestImplementation (libs.espresso_core) {
- exclude module: 'support-annotations'
- }
- androidTestImplementation libs.mockito_core
- androidTestImplementation libs.dexmaker_mockito
+ androidTestImplementation libs.test_runner, { exclude module: 'support-annotations' }
+ androidTestImplementation libs.espresso_core, { exclude module: 'support-annotations' }
+ androidTestImplementation libs.mockito_core, { exclude group: 'net.bytebuddy' } // DexMaker has it"s own MockMaker
+ androidTestImplementation libs.dexmaker_mockito, { exclude group: 'net.bytebuddy' } // DexMaker has it"s own MockMaker
}
android {