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/49484 This is the last diff to add support for Gradle Configuration caching. The last missing part here was the execution of the `config` command during Gradle configuration time. Using Java processes API is not supported as the correct way to do external commands that are CC-friendly is through the `.providers.exec` API which I'm using here. Closes https://github.com/facebook/react-native/issues/45154 Changelog: [Android] [Added] - Add support for Gradle Configuration caching Reviewed By: cipolleschi Differential Revision: D69753889 fbshipit-source-id: af1e844b38444659a908abce4029d43ad899c03d
@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.