Skip to content

Commit 4234ff3

Browse files
committed
1 parent e8483f5 commit 4234ff3

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ yarn add react-native-text-size
4747
react-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.

android/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def _minSdkVersion = safeExtGet('minSdkVersion', 16)
1616
buildscript {
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 {
4343
repositories {
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

5352
dependencies {
54-
compileOnly 'com.facebook.react:react-native:+'
53+
implementation 'com.facebook.react:react-native:+'
5554
}
5655

5756
task customClean(type: Delete) {

0 commit comments

Comments
 (0)