Skip to content

Instantly share code, notes, and snippets.

@jaredsburrows
Created September 12, 2017 05:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaredsburrows/ef4cbbf8a8a7d8b3ea9f1560daec93c0 to your computer and use it in GitHub Desktop.
Save jaredsburrows/ef4cbbf8a8a7d8b3ea9f1560daec93c0 to your computer and use it in GitHub Desktop.
Mockito 2 + LinkedIn Dexmaker + Multidex
androidTestCompile(extra["junit"])
androidTestCompile(extra["truth"])
androidTestCompile(extra["mockitoKotlin"] as String) { exclude(group = "net.bytebuddy") } // DexMaker has it"s own MockMaker
androidTestCompile(extra["mockitoCore"] as String) { exclude(group = "net.bytebuddy") } // DexMaker has it"s own MockMaker
androidTestCompile(extra["dexmakerMockito"] as String) { exclude(group = "net.bytebuddy") } // DexMaker has it"s own MockMaker
androidTestCompile(extra["runner"])
androidTestCompile(extra["espressoCore"])
androidTestCompile(extra["espressoIntents"])
androidTestCompile(extra["espressoContrib"] as String) { exclude(group = "com.android.support") }
androidTestCompile(extra["mockwebserver"])
testCompile(extra["junit"])
testCompile(extra["truth"])
testCompile(extra["mockitoKotlin"])
testCompile(extra["mockitoInline"])
testCompile(extra["leakcanaryAndroidNoOp"])
testCompile(extra["mockwebserver"])
testCompile(extra["equalsverifier"])
testCompile(extra["reflections"])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment