Skip to content

Instantly share code, notes, and snippets.

@minakov
Created September 10, 2016 06:17
Show Gist options
  • Save minakov/c71f011cc2270c2a93337870dee22c6d to your computer and use it in GitHub Desktop.
Save minakov/c71f011cc2270c2a93337870dee22c6d to your computer and use it in GitHub Desktop.
Resolves dependency versions conflicts of espresso across test and production APKs, specifically, transitive dependencies
configurations.all {
resolutionStrategy.force "com.android.support:support-annotations:$rootProject.supportLibraryVersion"
resolutionStrategy.force "com.android.support:support-v4:$rootProject.supportLibraryVersion"
resolutionStrategy.force "com.android.support:recyclerview-v7:$rootProject.supportLibraryVersion"
resolutionStrategy.force "com.android.support:appcompat-v7:$rootProject.supportLibraryVersion"
resolutionStrategy.force "com.android.support:design:$rootProject.supportLibraryVersion"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment