Bump Gradle to 9.4.1 (#57078)

Summary:
Follow-up to
- https://github.com/facebook/react-native/pull/55453
  - https://github.com/react-native-community/template/pull/205

Part 1 of Java 26 AGP 9 Kotlin 2.3-4 NDK 28 support https://github.com/facebook/react-native/pull/56222
- bump root gradlew
- bump RNGP gradlew
- bump private\helloworld\android gradlew
  - locally fix missing private\helloworld\node_modules\react-native\sdks\hermes-engine\version.properties
- NB: call gradlew twice
  - once for config (gradle-wrapper.properties)
  - twice for binaries (gradlew, gradle-wrapper.jar)
- NB: gradlew.bat bins remain identical to 9.3.1

## Changelog:

[ANDROID] [CHANGED] - Gradle to 9.4.1

Pull Request resolved: https://github.com/facebook/react-native/pull/57078

Test Plan:
- https://github.com/facebook/react-native/pull/56222
  - RNGP: AGP 9.1 and Kotlin 2.3 thoroughly tested passing (excluding packages/react-native bump for minimality)
- https://github.com/leotm/react-native-template-new-architecture/pull/1933
  - CI passing Android build on Kotlin 2 .3 and RNGP upstream patch

Reviewed By: Abbondanzo

Differential Revision: D107532804

Pulled By: cortinico

fbshipit-source-id: 3c2c98bbc7ed143561cb44347ebdbe1d0757fb71
This commit is contained in:
LeoTM
2026-06-04 10:12:52 -07:00
committed by meta-codesync[bot]
parent ad9936faf6
commit c0ee408c16
7 changed files with 5 additions and 5 deletions
Binary file not shown.
+1 -1
View File
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Vendored
+1 -1
View File
@@ -57,7 +57,7 @@
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# https://github.com/gradle/gradle/blob/2d6327017519d23b96af35865dc997fcb544fb40/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
Binary file not shown.
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
+1 -1
View File
@@ -57,7 +57,7 @@
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# https://github.com/gradle/gradle/blob/2d6327017519d23b96af35865dc997fcb544fb40/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME