mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
2455eab9df
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/44220 This diff is part of RFC0759 https://github.com/react-native-community/discussions-and-proposals/pull/759 Here we're looking into splitting the autolinking into a component that will live inside core (specifically inside the React Native Gradle Plugin - RNGP) and another component that will live inside the Community CLI. Here I start by adding 2 fields to RNGP extension, that frameworks and templates can use to provide their autolinking config. Changelog: [Internal] [Changed] - RNGP - Add autolinking fields to ReactExtensions Reviewed By: cipolleschi Differential Revision: D55475597 fbshipit-source-id: 316d1919a113a94c57426710f487f334c6128345
@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.