mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: I wanted to test exclusion of .d.ts files in https://github.com/facebook/react-native/pull/49227, but it also has node_modules so it will not test that condition correctly. ## Changelog: [INTERNAL] [FIXED] - Fix exclude .d.ts test in GenerateCodegenSchemaTaskTest Pull Request resolved: https://github.com/facebook/react-native/pull/49238 Test Plan: Run tests Reviewed By: cipolleschi Differential Revision: D69291695 Pulled By: cortinico fbshipit-source-id: 46b9367f3466b9cd49232a0565e5778a06b43990
@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.