Change usage of compile to implementation in docs (gradle). (#332)

React Native bumped the version of the Android Gradle Plugin
to v3 which uses the newer Gradle dependency
configurations `implementation` and `api` which make `compile`
obsolete.
This commit is contained in:
Felix Schindler 2018-11-13 18:47:18 +01:00 committed by Dylan Vann
parent a01f8d596f
commit 4cdee52a5e
1 changed files with 4 additions and 4 deletions

View File

@ -30,10 +30,10 @@ android {
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile "com.android.support:appcompat-v7:23.0.1"
compile "com.facebook.react:react-native:+" // From node_modules
+ compile project(':react-native-fast-image')
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
implementation "com.facebook.react:react-native:+" // From node_modules
+ implementation project(':react-native-fast-image')
}
```