Gradle modifications to fix build error

This commit is contained in:
misaochan 2017-06-02 17:50:43 +10:00
parent 18bb59403b
commit 8626bc259f

View file

@ -29,7 +29,9 @@ dependencies {
compile 'com.android.support:support-v4:25.3.1'
testCompile 'junit:junit:4.12'
testCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.1'
androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2'
androidTestCompile ('com.android.support.test.espresso:espresso-core:2.2.2') {
exclude module: 'support-annotations'
}
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.5.1'
releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.1'
}
@ -66,4 +68,8 @@ android {
disable 'ExtraTranslation'
abortOnError false
}
configurations.all {
resolutionStrategy.force 'com.android.support:support-annotations:25.2.0'
}
}