react-native/local-cli/link/android
Matei Radu 4dfdec9b28 Update link command for Android project (#20853)
Summary:
Motivation:
--------------
PR #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.

While the PR updated the template Gradle configuration, it did not cover the `link` command which will still link native modules using `compile` resulting in a warning message beeing displayed during an app build.

Since `compile` will be eventually removed by Gradle, this commit updates the `link` command to attach native modules using `implementation`.
Pull Request resolved: https://github.com/facebook/react-native/pull/20853

Differential Revision: D9733888

Pulled By: hramos

fbshipit-source-id: 22853480d7ba7be65e3387effda2fd6c72b6906a
2018-09-08 04:31:37 -07:00
..
patches Update link command for Android project (#20853) 2018-09-08 04:31:37 -07:00
copyAssets.js Prettier RN local-cli 2018-05-11 13:00:50 -07:00
fs.js Prettier RN local-cli 2018-05-11 13:00:50 -07:00
index.js Prettier RN local-cli 2018-05-11 13:00:50 -07:00
isInstalled.js Prettier RN local-cli 2018-05-11 13:00:50 -07:00
registerNativeModule.js Prettier RN local-cli 2018-05-11 13:00:50 -07:00
unlinkAssets.js Prettier RN local-cli 2018-05-11 13:00:50 -07:00
unregisterNativeModule.js Prettier RN local-cli 2018-05-11 13:00:50 -07:00