mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: `getGradleDependenciesToApply` tries to call `implementation:` in all libraries, including the ones that are not supported on Android. ## Changelog: [INTERNAL] [FIXED] - Filter out platform-specific libraries from the auto-linking gradle plugin Pull Request resolved: https://github.com/facebook/react-native/pull/45749 Test Plan: CI should be green Reviewed By: cipolleschi Differential Revision: D60374769 Pulled By: cortinico fbshipit-source-id: 33c83e9cc39d81b0e5c497570a936831ebb345f9
@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.