Skip to content

Commit 4cdee52

Browse files
fschindlerDylanVann
authored andcommitted
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.
1 parent a01f8d5 commit 4cdee52

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/installation-manual.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ android {
3030
}
3131

3232
dependencies {
33-
compile fileTree(dir: 'libs', include: ['*.jar'])
34-
compile "com.android.support:appcompat-v7:23.0.1"
35-
compile "com.facebook.react:react-native:+" // From node_modules
36-
+ compile project(':react-native-fast-image')
33+
implementation fileTree(dir: "libs", include: ["*.jar"])
34+
implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
35+
implementation "com.facebook.react:react-native:+" // From node_modules
36+
+ implementation project(':react-native-fast-image')
3737
}
3838
```
3939

0 commit comments

Comments
 (0)