mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/50929 We decided to change the warning model for LegacyArch/NewArch. I'm currently removing the infra to read the `legacyWarningsEnabled` Gradle property if provided. Warnings will be enabled by default for all Legacy Arch users in the new model. This change was never shipped in a numbered version, so that's not breaking. Changelog: [Internal] [Changed] - Reviewed By: cipolleschi Differential Revision: D73591315 fbshipit-source-id: a46fade91b46fcc9b81984577161c046dc0939b6
@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 once./gradlew -p packages/gradle-plugin test.