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
4747react-native link react-native-text-size
4848```
4949
50- Change the ` compile ` directive to ` implementation ` in the dependencies block of the android/app/build.gradle file.
51-
5250** Requirements:**
5351
5452- 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)
1616buildscript {
1717 repositories {
1818 google()
19- jcenter ()
19+ mavenCentral ()
2020 }
2121 dependencies {
2222 classpath ' com.android.tools.build:gradle:3.4.1'
@@ -43,15 +43,14 @@ android {
4343repositories {
4444 mavenLocal()
4545 google()
46- jcenter()
4746 maven {
4847 // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
4948 url " $rootDir /../node_modules/react-native/android"
5049 }
5150}
5251
5352dependencies {
54- compileOnly ' com.facebook.react:react-native:+'
53+ implementation ' com.facebook.react:react-native:+'
5554}
5655
5756task customClean (type : Delete ) {
You can’t perform that action at this time.
0 commit comments