mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
15909fab95
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/44832 I'm renaming this folder as now we have 2 gradle plugins + we currently have `package/react-native-gradle-plugin/react-native-gradle-plugin/` which is confusing so we can just call this folder `packages/gradle-plugin/` to be consistent with the NPM package name Changelog: [Internal] [Changed] - packages/react-native-gradle-plugin/ -> packages/gradle-plugin/ Reviewed By: blakef Differential Revision: D58284883 fbshipit-source-id: 5a7bb40a5d80f6fbab4ffb29e44107453f1013ec
24 lines
719 B
Markdown
24 lines
719 B
Markdown
# @react-native/gradle-plugin
|
|
|
|
[![Version][version-badge]][package]
|
|
|
|
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*
|
|
|
|
[version-badge]: https://img.shields.io/npm/v/@react-native/gradle-plugin?style=flat-square
|
|
[package]: https://www.npmjs.com/package/@react-native/gradle-plugin
|
|
|
|
## Testing
|
|
|
|
To run the tests in this package, run the following commands from the React Native root folder:
|
|
|
|
1. `yarn` to install the dependencies. You just need to run this once
|
|
2. `./gradlew -p packages/gradle-plugin test`.
|