Skip to content

Commit

Permalink
refactor(react-native-gradle-plugin): rename react-native-gradle-plug…
Browse files Browse the repository at this point in the history
…in to @react-native/gradle-plugin (#35480)

Summary:
Pull Request resolved: #35480

Changelog:
[General][Changed] - rename react-native-gradle-plugin to react-native/gradle-plugin

Reviewed By: cipolleschi

Differential Revision: D41532746

fbshipit-source-id: 67b936a211ec8b91a2a96ca22145cbea94ba3e8c
  • Loading branch information
hoxyq authored and facebook-github-bot committed Nov 25, 2022
1 parent f5e5274 commit 6f11b10
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 10 deletions.
3 changes: 0 additions & 3 deletions .circleci/verdaccio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ packages:
'react-native-codegen':
access: $all
publish: $all
'react-native-gradle-plugin':
access: $all
publish: $all
'@*/*':
access: $all
publish: $authenticated
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@
"@react-native-community/cli-platform-android": "10.0.0-alpha.4",
"@react-native-community/cli-platform-ios": "10.0.0-alpha.3",
"@react-native/assets": "1.0.0",
"@react-native/gradle-plugin": "^0.72.1",
"@react-native/normalize-color": "2.1.0",
"@react-native/polyfills": "2.0.0",
"abort-controller": "^3.0.0",
Expand All @@ -132,7 +133,6 @@
"pretty-format": "^26.5.2",
"promise": "^8.3.0",
"react-devtools-core": "^4.26.1",
"react-native-gradle-plugin": "^0.72.1",
"react-refresh": "^0.4.0",
"react-shallow-renderer": "^16.15.0",
"regenerator-runtime": "^0.13.2",
Expand Down
8 changes: 4 additions & 4 deletions packages/react-native-gradle-plugin/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# react-native-gradle-plugin
# @react-native/gradle-plugin

[![Version][version-badge]][package]

Expand All @@ -7,10 +7,10 @@ A Gradle Plugin used to support development of React Native applications for And
## Installation

```
yarn add react-native-gradle-plugin
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
[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
2 changes: 1 addition & 1 deletion packages/react-native-gradle-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "react-native-gradle-plugin",
"name": "@react-native/gradle-plugin",
"version": "0.72.1",
"description": "⚛️ Gradle Plugin for React Native",
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/react-native-gradle-plugin",
Expand Down
2 changes: 1 addition & 1 deletion template/android/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
rootProject.name = 'HelloWorld'
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
include ':app'
includeBuild('../node_modules/react-native-gradle-plugin')
includeBuild('../node_modules/@react-native/gradle-plugin')

0 comments on commit 6f11b10

Please sign in to comment.