From 23702dc1e794303c80fa668b569accc9a804bc21 Mon Sep 17 00:00:00 2001 From: Igor Mandrigin Date: Tue, 18 Jun 2019 12:26:56 +0200 Subject: [PATCH] [android] ignore the gms version from `react-native-http-bridge`. `react-native-http-bridge` has an unbound dependency on GMS, that sometimes brings unnecessary transitive dependencies to our builds. This commit forces to ignore this depencency. Signed-off-by: Igor Mandrigin --- android/app/build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 08ad9824a0..f091d40fa8 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -255,7 +255,9 @@ dependencies { implementation project(':react-native-background-timer') implementation project(':react-native-svg') implementation 'com.android.support:multidex:1.0.2' - implementation project(':react-native-http-bridge') + compile (project(':react-native-http-bridge')) { + exclude group: "com.google.android.gms" + } implementation project(':react-native-splash-screen') implementation project(':react-native-image-resizer') implementation project(':react-native-dialogs')