浏览代码

Merge pull request #40 from robwalkerco/patch-1

Change compile to implementation in Gradle
Hau Vo 5 年前
父节点
当前提交
dc9af06fce
没有帐户链接到提交者的电子邮件
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 1
    1
      README.md
  2. 2
    2
      android/build.gradle

+ 1
- 1
README.md 查看文件

@@ -32,7 +32,7 @@ Get thumbnail from local media. Currently, it only supports for video.
32 32
   	```
33 33
 3. Insert the following lines inside the dependencies block in `android/app/build.gradle`:
34 34
   	```
35
-      compile project(':react-native-thumbnail')
35
+      implementation project(':react-native-thumbnail')
36 36
   	```
37 37
 
38 38
 ## Usage

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

@@ -33,6 +33,6 @@ repositories {
33 33
 }
34 34
 
35 35
 dependencies {
36
-    compile 'com.facebook.react:react-native:+'
36
+    implementation 'com.facebook.react:react-native:+'
37 37
 }
38
-  
38
+