Skip to content

Instantly share code, notes, and snippets.

View eoinahern's full-sized avatar
🏠
reading the joy of kotlin. fantastic book

eoin_a eoinahern

🏠
reading the joy of kotlin. fantastic book
View GitHub Profile
@eoinahern
eoinahern / build.gradle
Last active October 13, 2017 13:32
my build.gradle dependencies after modification.
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
@eoinahern
eoinahern / build.gradle
Created October 13, 2017 13:04
exclude a module
//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") {
@eoinahern
eoinahern / build.gradle
Created October 13, 2017 11:30
gradle dependency conflict solutions
//force a resolution
configurations.all {
resolutionStrategy.force 'com.android.support:support-annotations:25.3.0'
}