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/dynamic-animation/build.gradle b/dynamic-animation/build.gradle
index 2667bef..8ceaaf3 100644
--- a/dynamic-animation/build.gradle
+++ b/dynamic-animation/build.gradle
@@ -3,14 +3,10 @@
dependencies {
api project(':support-core-utils')
- 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 {