react-native/local-cli/link
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
..
__fixtures__ Update link command for Android project (#20853) 2018-09-08 04:31:37 -07:00
__tests__ Update link command for Android project (#20853) 2018-09-08 04:31:37 -07:00
android Update link command for Android project (#20853) 2018-09-08 04:31:37 -07:00
ios Prettier RN local-cli 2018-05-11 13:00:50 -07:00
pods Prettier RN local-cli 2018-05-11 13:00:50 -07:00
commandStub.js Prettier RN local-cli 2018-05-11 13:00:50 -07:00
getDependencyConfig.js Prettier RN local-cli 2018-05-11 13:00:50 -07:00
getProjectDependencies.js Use `hg root` for all CWD in test environment 2018-05-14 13:46:51 -07:00
groupFilesByType.js Prettier RN local-cli 2018-05-11 13:00:50 -07:00
link.js Add support for linking scoped packages (#18766) (#19828) 2018-08-06 12:32:25 -07:00
pollParams.js Prettier RN local-cli 2018-05-11 13:00:50 -07:00
promiseWaterfall.js Prettier RN local-cli 2018-05-11 13:00:50 -07:00
promisify.js Prettier RN local-cli 2018-05-11 13:00:50 -07:00
unlink.js Prettier RN local-cli 2018-05-11 13:00:50 -07:00