Skip to content

Instantly share code, notes, and snippets.

@fredgrott
Created September 30, 2016 11:09
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 fredgrott/0b8dc3bb3e91ff02e1293d44cfc432fb to your computer and use it in GitHub Desktop.
Save fredgrott/0b8dc3bb3e91ff02e1293d44cfc432fb to your computer and use it in GitHub Desktop.

This a gradle fix to the normal Google Android sample app code examples

androidTestCompile("com.android.support.test.espresso:espresso-core:$rootProject.espressoVersion", {
        exclude group: 'com.android.support', module: 'support-annotations'
    })
androidTestCompile ("com.android.support.test:runner:$rootProject.ext.runnerVersion",{
        exclude group:'com.android.support', module:'support-annotations'
    })
androidTestCompile ("com.android.support.test:rules:$rootProject.ext.runnerVersion",{
        exclude group:'com.android.support', module:'support-annotations'
    })
androidTestCompile ("com.android.support.test.espresso:espresso-contrib:$rootProject.espressoVersion",{
        exclude group: 'com.android.support', module:'design'
        exclude group: 'com.android.support', module:'recyclerview-v7'
        exclude group: 'com.android.support', module:'support-v4'
    })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment