Commit 4b4a2125 authored by Felix Schindler's avatar Felix Schindler Committed by Mehdi Achour

fix(docs): gradle compile config depreciation (#528)

PR facebook/react-native#20767 bumped the version of the Android
Gradle Plugin to v3 which uses the newer Gradle dependency
configurations `implementation` and `api` which make `compile`
obsolete.

PR facebook/react-native#20853 covered the `link` command.

Using `compile` will result in a warning message during app build and
`compile` will be eventually removed by Gradle.
parent 5a7a8c80
Pipeline #26 canceled with stages
......@@ -102,8 +102,8 @@ Run your project (Cmd+R)
```diff
dependencies {
...
compile "com.facebook.react:react-native:+" // From node_modules
+ compile project(':react-native-device-info')
implementation "com.facebook.react:react-native:+" // From node_modules
+ implementation project(':react-native-device-info')
}
```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment