Last active
May 15, 2016 22:40
-
-
Save talosdev/7fb8770356b5bbd4b9eee47065b052ee to your computer and use it in GitHub Desktop.
Solve the issue with transitive dependencies, especially with support-annotations.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Resolves dependency versions across test and production APKs, specifically, transitive | |
dependencies. This is required since Espresso internally has a dependency on support-annotations. | |
*/ | |
configurations.all { | |
resolutionStrategy.force "com.android.support:support-annotations:23.1.1" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Credit:
https://codelabs.developers.google.com/codelabs/android-testing