mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
63ca55bdcc
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/39634 Running build from source as suggested here: https://reactnative.dev/contributing/how-to-build-from-source is currently broken for nightly versions (and for 0.73). This fixes it by: - Fixing the import of the Gradle Version Catalog - Actually adding the Gradle version catalog to the NPM package - Fixing how the build Codegen CLI task is invoked for build-from-source - Updating the search directories for codegenDir/reactNativeDir from build-from-source Changelog: [Internal] [Fixed] - Unblock build-from-source on nightlies Reviewed By: cipolleschi Differential Revision: D49562595 fbshipit-source-id: 9594b7d947569d41c461a7e8287d3ae68fb87b98
@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.