Skip to content
Snippets Groups Projects
Commit a6225203 authored by Mark Renouf's avatar Mark Renouf
Browse files

Switch to -nodeps flavor of mockito-kotlin

This allows use of mockito-kotlin without pulling in
a specific implementation of Mockito.

Unfortunately there are currently multiple versions of
Mockito in use, including single-target prebuilts which
also include mockmaker plugin metadata.

Since mocktio-kotlin is a small library which depends
only on the stable Mockito API (as wrapper functions),
it can be used along with multiple versions without
explicitly defining a runtime dependency.

Bug: 339853443
Test: Treehugger presubmit
Flag: TEST_ONLY
Change-Id: I4431c1a8438c7a02d051fb5965f065dfbbd70102
parent 7e1f38a7
No related branches found
No related tags found
No related merge requests found
......@@ -569,7 +569,7 @@ android_library {
"androidx.test.uiautomator_uiautomator",
"androidx.core_core-animation-testing",
"mockito-target-extended-minus-junit4",
"mockito-kotlin2",
"mockito-kotlin-nodeps",
"androidx.test.ext.junit",
"androidx.test.ext.truth",
"kotlin-test",
......@@ -656,6 +656,7 @@ java_library {
"androidx.core_core-animation-testing",
"androidx.test.ext.junit",
"inline-mockito-robolectric-prebuilt",
"mockito-kotlin-nodeps",
"platform-parametric-runner-lib",
"SystemUICustomizationTestUtils",
"kotlin-test",
......@@ -740,6 +741,7 @@ android_ravenwood_test {
"androidx.core_core-animation-testing",
"androidx.test.ext.junit",
"kosmos",
"mockito-kotlin-nodeps",
],
libs: [
"android.test.runner",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment