mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
2477fbc600
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/43753 New build failures when this was merged seem likely related. ``` FAILURE: Build failed with an exception. * Where: Build file '/root/react-native/packages/react-native/ReactAndroid/build.gradle.kts' line: 784 * What went wrong: Script compilation errors: Line 784: react { ^ Unresolved reference: react Line 787: libraryName = "rncore" ^ Unresolved reference: libraryName Line 788: jsRootDir = file("../src") ^ Unresolved reference: jsRootDir ``` Changelog: [Internal] Reviewed By: arushikesarwani94 Differential Revision: D55618667 fbshipit-source-id: 1a188ba31b013863f3d46a773ff3ebbdd5f696cb
@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.