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/53718 I've just realized we ended up invoking `project.` inside the execution of `BundleHermesCTask`. This is an anti-pattern and is breaking Gradle Configuration caching. Instead we should be checking if hermesV1Enabled is set during the Task registration and pass over this information to the task. Changelog: [Internal] [Changed] - Reviewed By: j-piasecki Differential Revision: D82130643 fbshipit-source-id: d2026711666867b3767824381cc5be0af3b476cc
@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.