Skip to content

fix: use Gradle 9 compatible Foojay resolver on 0.83-stable#56743

Open
WolfieLeader wants to merge 1 commit intofacebook:0.83-stablefrom
WolfieLeader:rn083-foojay-gradle-9
Open

fix: use Gradle 9 compatible Foojay resolver on 0.83-stable#56743
WolfieLeader wants to merge 1 commit intofacebook:0.83-stablefrom
WolfieLeader:rn083-foojay-gradle-9

Conversation

@WolfieLeader
Copy link
Copy Markdown

@WolfieLeader WolfieLeader commented May 9, 2026

Summary

Backports the Foojay resolver upgrade to 0.83-stable by changing foojay-resolver-convention from 0.5.0 to 1.0.0.

This is backwards compatible for existing projects and fixes Gradle 9 builds where Foojay 0.5.0 crashes because it references the removed JvmVendorSpec.IBM_SEMERU field.

Why

React Native main already contains the same effective fix via #56210, but the published 0.83 line still ships 0.5.0. Expo SDK 55 / RN 0.83 users hit this during Android builds with Gradle 9.

Refs:

Changelog:

[Android] [Fixed] - Use Gradle 9 compatible Foojay resolver convention plugin in the 0.83 Gradle plugin.

Test Plan

  • git diff --check
  • Verified @react-native/gradle-plugin@0.83.x ships Foojay 0.5.0 and React Native main uses 1.0.0.

@meta-cla
Copy link
Copy Markdown

meta-cla Bot commented May 9, 2026

Hi @WolfieLeader!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks!

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 9, 2026

Warning

JavaScript API change detected

This PR commits an update to ReactNativeApi.d.ts, indicating a change to React Native's public JavaScript API.

  • Please include a clear changelog message.
  • This change will be subject to additional review.

This change was flagged as: BREAKING

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 9, 2026
@meta-cla
Copy link
Copy Markdown

meta-cla Bot commented May 9, 2026

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Pick Request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant