Fix build.gradle.

This commit is contained in:
Dylan Vann 2018-09-23 16:36:46 -04:00
parent 649e9a8edf
commit a3b581014d
1 changed files with 5 additions and 11 deletions

View File

@ -53,19 +53,13 @@ repositories {
dependencies {
//noinspection GradleDynamicVersion
implementation "com.facebook.react:react-native:${_reactNativeVersion}"
implementation "com.android.support:support-v4:${_compileSdkVersion}"
implementation("com.github.bumptech.glide:glide:${_glideVersion}")
android.testVariants.all { variant ->
variant.getCompileConfiguration().exclude group: 'com.android.support', module: 'glide'
variant.getRuntimeConfiguration().exclude group: 'com.android.support', module: 'glide'
implementation "com.android.support:support-v4:${safeExtGet("supportLibVersion", "27.1.1")}"
implementation("com.github.bumptech.glide:glide:${_glideVersion}") {
exclude group: "com.android.support", module: "glide"
}
implementation("com.github.bumptech.glide:annotations:${_glideVersion}")
android.testVariants.all { variant ->
variant.getCompileConfiguration().exclude group: 'com.android.support', module: 'annotations'
variant.getRuntimeConfiguration().exclude group: 'com.android.support', module: 'annotations'
implementation("com.github.bumptech.glide:annotations:${_glideVersion}") {
exclude group: "com.android.support", module: "annotations"
}
annotationProcessor "com.github.bumptech.glide:compiler:${_glideVersion}"
implementation("com.github.bumptech.glide:okhttp3-integration:${_glideVersion}") {
exclude group: "com.android.support", module: "okhttp3-integration"