Skip to content

Incorrect gradle wrapper configuration being pulled when creating a new project #2589

Description

@PedroPerpetua

Description

For React Native version 0.76.6 & 0.77.0, the gradle version was bumped to 8.11.1 from 8.10.2 (related commit). However, creating a new React Native project using this CLI (npx @react-native-community/cli init RnDiffApp --version 0.77.0, for example) will generate the android/gradle/wrapper/gradle-wrapper.properties file wrong, still using the old version.

This issue reflects in the rn-diff-purge project, which in turn also causes trouble in the upgrade-helper for people trying to upgrade to these versions, as this change is not accurately reflected there.

Reproducible Demo

Just create a new project on either version (0.76.6 or 0.77.0) and check the generated android/gradle/wrapper/gradle-wrapper.properties file for the gradle version.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions