Просмотр исходного кода

android: fix publishing new async storage package

The naming didn't match, so adjust it. @ cannot be used for maven artifact
names.
master
Saúl Ibarra Corretgé 6 лет назад
Родитель
Сommit
466e1e3eb8
2 измененных файлов: 4 добавлений и 5 удалений
  1. 2
    3
      android/sdk/build.gradle
  2. 2
    2
      android/settings.gradle

+ 2
- 3
android/sdk/build.gradle Просмотреть файл

@@ -53,6 +53,7 @@ dependencies {
53 53
 
54 54
     implementation project(':react-native-background-timer')
55 55
     implementation project(':react-native-calendar-events')
56
+    implementation project(':react-native-community-async-storage')
56 57
     implementation(project(':react-native-fast-image')) {
57 58
         exclude group: 'com.android.support'
58 59
     }
@@ -63,7 +64,6 @@ dependencies {
63 64
     implementation project(':react-native-vector-icons')
64 65
     implementation project(':react-native-webrtc')
65 66
     implementation project(':react-native-webview')
66
-    implementation project(':@react-native-community_async-storage')
67 67
 
68 68
     testImplementation 'junit:junit:4.12'
69 69
 }
@@ -207,8 +207,7 @@ publishing {
207 207
                     def groupId = it.moduleGroup
208 208
                     def artifactId = it.moduleName
209 209
 
210
-                    if ((artifactId.startsWith('react-native-') || artifactId.startsWith('@react-native-community'))
211
-                            && groupId.equals('jitsi-meet')) {
210
+                    if (artifactId.startsWith('react-native-') && groupId.equals('jitsi-meet')) {
212 211
                         groupId = rootProject.ext.moduleGroupId
213 212
                     }
214 213
 

+ 2
- 2
android/settings.gradle Просмотреть файл

@@ -5,6 +5,8 @@ include ':react-native-background-timer'
5 5
 project(':react-native-background-timer').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-background-timer/android')
6 6
 include ':react-native-calendar-events'
7 7
 project(':react-native-calendar-events').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-calendar-events/android')
8
+include ':react-native-community-async-storage'
9
+project(':react-native-community-async-storage').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-community/async-storage/android')
8 10
 include ':react-native-fast-image'
9 11
 project(':react-native-fast-image').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-fast-image/android')
10 12
 include ':react-native-google-signin'
@@ -23,5 +25,3 @@ include ':react-native-webrtc'
23 25
 project(':react-native-webrtc').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-webrtc/android')
24 26
 include ':react-native-webview'
25 27
 project(':react-native-webview').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-webview/android')
26
-include ':@react-native-community_async-storage'
27
-project(':@react-native-community_async-storage').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-community/async-storage/android')

Загрузка…
Отмена
Сохранить