瀏覽代碼

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

Fixes: https://github.com/jitsi/jitsi-meet/issues/8353
master
Saúl Ibarra Corretgé 4 年之前
父節點
當前提交
1ec8f70d55
共有 1 個檔案被更改,包括 8 行新增2 行删除
  1. 8
    2
      android/sdk/build.gradle

+ 8
- 2
android/sdk/build.gradle 查看文件

47
     implementation 'com.jakewharton.timber:timber:4.7.1'
47
     implementation 'com.jakewharton.timber:timber:4.7.1'
48
     implementation 'com.squareup.duktape:duktape-android:1.3.0'
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
         implementation(project(":react-native-google-signin")) {
58
         implementation(project(":react-native-google-signin")) {
52
             exclude group: 'com.google.android.gms'
59
             exclude group: 'com.google.android.gms'
53
             exclude group: 'androidx'
60
             exclude group: 'androidx'
59
     implementation project(':react-native-calendar-events')
66
     implementation project(':react-native-calendar-events')
60
     implementation project(':react-native-community_netinfo')
67
     implementation project(':react-native-community_netinfo')
61
     implementation project(':react-native-default-preference')
68
     implementation project(':react-native-default-preference')
62
-    implementation project(':react-native-device-info')
63
     implementation project(':react-native-immersive')
69
     implementation project(':react-native-immersive')
64
     implementation project(':react-native-keep-awake')
70
     implementation project(':react-native-keep-awake')
65
     implementation project(':react-native-linear-gradient')
71
     implementation project(':react-native-linear-gradient')

Loading…
取消
儲存