This file contains hidden or 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
dependencies { | |
//resolve a dependency | |
configurations.all { | |
resolutionStrategy.force 'com.android.support:support-annotations:25.3.0' | |
resolutionStrategy.force 'com.android.support:support-compat:25.3.0' | |
} | |
// App's dependencies, including test |
This file contains hidden or 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
//excluding a module! | |
androidTestCompile ("com.android.support.test.espresso:espresso-core:$rootProject.espressoVersion") { | |
exclude group: 'com.google.code.findbugs', module:'jsr305' | |
} | |
androidTestCompile ("com.android.support.test.espresso:espresso-contrib:$rootProject.espressoVersion") { | |
exclude group: 'com.google.code.findbugs', module:'jsr305' | |
} | |
androidTestCompile ("com.android.support.test.espresso:espresso-intents:$rootProject.espressoVersion") { |
This file contains hidden or 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
//force a resolution | |
configurations.all { | |
resolutionStrategy.force 'com.android.support:support-annotations:25.3.0' | |
} | |
NewerOlder