Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?

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