Browse Source

fix(libre-build) skip spurious Firebase and GCM dependencies

Fixes: https://github.com/jitsi/jitsi-meet/issues/8353
j8
Saúl Ibarra Corretgé 4 years ago
parent
commit
1ec8f70d55
1 changed files with 8 additions and 2 deletions
  1. 8
    2
      android/sdk/build.gradle

+ 8
- 2
android/sdk/build.gradle View File

@@ -47,7 +47,14 @@ dependencies {
47 47
     implementation 'com.jakewharton.timber:timber:4.7.1'
48 48
     implementation 'com.squareup.duktape:duktape-android:1.3.0'
49 49
 
50
-    if (!rootProject.ext.libreBuild) {
50
+    if (rootProject.ext.libreBuild) {
51
+        implementation(project(':react-native-device-info')) {
52
+            exclude group: 'com.google.firebase'
53
+            exclude group: 'com.google.android.gms'
54
+            exclude group: 'com.android.installreferrer'
55
+        }
56
+    } else {
57
+        implementation project(':react-native-device-info')
51 58
         implementation(project(":react-native-google-signin")) {
52 59
             exclude group: 'com.google.android.gms'
53 60
             exclude group: 'androidx'
@@ -59,7 +66,6 @@ dependencies {
59 66
     implementation project(':react-native-calendar-events')
60 67
     implementation project(':react-native-community_netinfo')
61 68
     implementation project(':react-native-default-preference')
62
-    implementation project(':react-native-device-info')
63 69
     implementation project(':react-native-immersive')
64 70
     implementation project(':react-native-keep-awake')
65 71
     implementation project(':react-native-linear-gradient')

Loading…
Cancel
Save