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

Fixes issue with finding React Native version

* Fixes 284

Searching for reactNative version in projects ext root now uses safeExtGet to stop build issues where reactNative is not set.
krislipscombe 4 лет назад
Родитель
Сommit
4a2317edee
No account linked to committer's email address
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      android/build.gradle

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

@@ -47,5 +47,5 @@ repositories {
47 47
 
48 48
 dependencies {
49 49
     implementation "com.android.support:support-v4:${safeExtGet('supportLibVersion', '27.+')}"
50
-    api "com.facebook.react:react-native:${rootProject.ext.reactNative}"
50
+    api "com.facebook.react:react-native:${safeExtGet('reactNative', '+')}"
51 51
 }