Skip to content

Commit 15909fa

Browse files
cortinicofacebook-github-bot
authored andcommitted
packages/react-native-gradle-plugin/ -> packages/gradle-plugin/ (facebook#44832)
Summary: Pull Request resolved: facebook#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
1 parent 3429dc1 commit 15909fa

File tree

91 files changed

+30
-21
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+30
-21
lines changed

.circleci/configurations/jobs.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,10 @@ jobs:
151151
- packages/react-native/ReactAndroid/hermes-engine/.cxx/
152152
- packages/react-native/ReactAndroid/hermes-engine/build/
153153
- packages/react-native/ReactAndroid/src/main/jni/prebuilt/
154-
- packages/react-native-gradle-plugin/.gradle/
155-
- packages/react-native-gradle-plugin/build/
154+
- packages/gradle-plugin/.gradle/
155+
- packages/gradle-plugin/react-native-gradle-plugin/build/
156+
- packages/gradle-plugin/settings-plugin/build/
157+
- packages/gradle-plugin/shared/build/
156158
- packages/react-native-codegen/lib/
157159

158160
# -------------------------
@@ -181,8 +183,9 @@ jobs:
181183
platform: android
182184

183185
- store_test_results:
184-
path: ~/react-native/packages/react-native-gradle-plugin/build/test-results
185-
186+
path: ~/react-native/packages/gradle-plugin/react-native-gradle-plugin/build/test-results
187+
- store_test_results:
188+
path: ~/react-native/packages/gradle-plugin/settings-plugin/build/test-results
186189
- store_test_results:
187190
path: ~/react-native/packages/react-native/ReactAndroid/build/test-results
188191

.github/workflows/nightly.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -493,8 +493,8 @@ jobs:
493493
name: build-android-results
494494
compression-level: 1
495495
path: |
496-
packages/react-native-gradle-plugin/react-native-gradle-plugin/build/reports
497-
packages/react-native-gradle-plugin/settings-plugin/build/reports
496+
packages/gradle-plugin/settings-plugin/build/reports
497+
packages/gradle-plugin/react-native-gradle-plugin/build/reports
498498
packages/react-native/ReactAndroid/build/reports
499499
- name: Upload RNTester APK
500500
if: ${{ always() }}
@@ -503,6 +503,7 @@ jobs:
503503
name: rntester-apk
504504
path: packages/rn-tester/android/app/build/outputs/apk/
505505
compression-level: 0
506+
506507
build_npm_package:
507508
runs-on: 8-core-ubuntu
508509
needs: [set_release_type, prepare_hermes_workspace, build_hermes_macos, build_hermesc_linux, build_hermesc_windows,build_android]

.github/workflows/publish-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -492,8 +492,8 @@ jobs:
492492
name: build-android-results
493493
compression-level: 1
494494
path: |
495-
packages/react-native-gradle-plugin/react-native-gradle-plugin/build/reports
496-
packages/react-native-gradle-plugin/settings-plugin/build/reports
495+
packages/gradle-plugin/react-native-gradle-plugin/build/reports
496+
packages/gradle-plugin/settings-plugin/build/reports
497497
packages/react-native/ReactAndroid/build/reports
498498
- name: Upload RNTester APK
499499
if: ${{ always() }}

.github/workflows/test-all.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -565,8 +565,8 @@ jobs:
565565
name: build-android-results
566566
compression-level: 1
567567
path: |
568-
packages/react-native-gradle-plugin/react-native-gradle-plugin/build/reports
569-
packages/react-native-gradle-plugin/settings-plugin/build/reports
568+
packages/gradle-plugin/react-native-gradle-plugin/build/reports
569+
packages/gradle-plugin/settings-plugin/build/reports
570570
packages/react-native/ReactAndroid/build/reports
571571
- name: Upload RNTester APK
572572
if: ${{ always() }}

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ nexusPublishing {
6060

6161
tasks.register("clean", Delete::class.java) {
6262
description = "Remove all the build files and intermediate build outputs"
63-
dependsOn(gradle.includedBuild("react-native-gradle-plugin").task(":clean"))
63+
dependsOn(gradle.includedBuild("gradle-plugin").task(":clean"))
6464
subprojects.forEach {
6565
if (it.project.plugins.hasPlugin("com.android.library") ||
6666
it.project.plugins.hasPlugin("com.android.application")) {
@@ -86,7 +86,7 @@ tasks.register("clean", Delete::class.java) {
8686

8787
tasks.register("build") {
8888
description = "Build and test all the React Native relevant projects."
89-
dependsOn(gradle.includedBuild("react-native-gradle-plugin").task(":build"))
89+
dependsOn(gradle.includedBuild("gradle-plugin").task(":build"))
9090
}
9191

9292
tasks.register("publishAllToMavenTempLocal") {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
build/
2-
app-plugin/build/
2+
react-native-gradle-plugin/build/
33
settings-plugin/build/
44
shared/build/

packages/react-native-gradle-plugin/README.md renamed to packages/gradle-plugin/README.md

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)