File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -47,8 +47,6 @@ yarn add react-native-text-size
47
47
react-native link react-native-text-size
48
48
```
49
49
50
- Change the ` compile ` directive to ` implementation ` in the dependencies block of the android/app/build.gradle file.
51
-
52
50
** Requirements:**
53
51
54
52
- React Native v0.57 or later.
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ def _minSdkVersion = safeExtGet('minSdkVersion', 16)
16
16
buildscript {
17
17
repositories {
18
18
google()
19
- jcenter ()
19
+ mavenCentral ()
20
20
}
21
21
dependencies {
22
22
classpath ' com.android.tools.build:gradle:3.4.1'
@@ -43,15 +43,14 @@ android {
43
43
repositories {
44
44
mavenLocal()
45
45
google()
46
- jcenter()
47
46
maven {
48
47
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
49
48
url " $rootDir /../node_modules/react-native/android"
50
49
}
51
50
}
52
51
53
52
dependencies {
54
- compileOnly ' com.facebook.react:react-native:+'
53
+ implementation ' com.facebook.react:react-native:+'
55
54
}
56
55
57
56
task customClean (type : Delete ) {
You can’t perform that action at this time.
0 commit comments