ソースを参照

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 年 前
コミット
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
 }