浏览代码

RN is implementation dependency

Dulmandakh 4 年前
父节点
当前提交
a3351ed200
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      android/build.gradle

+ 1
- 1
android/build.gradle 查看文件

@@ -123,6 +123,6 @@ def kotlin_version = getExtOrDefault('kotlinVersion')
123 123
 
124 124
 dependencies {
125 125
   //noinspection GradleDynamicVersion
126
-  api 'com.facebook.react:react-native:+'
126
+  implementation 'com.facebook.react:react-native:+'
127 127
   implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
128 128
 }