mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
1df1570810
Summary: This diff is part of RFC0759 https://github.com/react-native-community/discussions-and-proposals/pull/759 Here I'm creating the `runAutolinkingConfig` task. This task is responsible of either: - Invoking the `npx react-native-community/cli config` command (or the one specified by the user) - Copying the config output file specified by the user (if any). The task re-executes only if any of the lockfile are actually changed otherwise it just returns as "UP-TO-DATE" This allows us to Changelog: [Internal] [Changed] - RNGP - Setup the RunAutolinkingConfigTask to run the config command Reviewed By: cipolleschi, blakef Differential Revision: D55475596 fbshipit-source-id: 3c687f965c59eb82fc447546ebd936ba401f34f2
@react-native/gradle-plugin
A Gradle Plugin used to support development of React Native applications for Android.
Installation
yarn add @react-native/gradle-plugin
Note: We're using yarn to install deps. Feel free to change commands to use npm 3+ and npx if you like
Testing
To run the tests in this package, run the following commands from the React Native root folder:
yarnto install the dependencies. You just need to run this onceyarn jest packages/react-native-gradle-plugin.