fix(android): bump foojay-resolver to 1.0.0 for Gradle 9 IBM_SEMERU removal #279
No reviewers
Labels
No labels
area:auth
area:ci
area:db
area:infra
area:native
area:pwa
area:service
epic
feature
foundation
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
james/carol!279
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "278-android-gradle-jvm-vendor"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Gradle assembleDebug(andassembleRelease) at the configuration phase with:@react-native/gradle-plugin@0.85.3(matches ourreact-native@0.85.3pin) shipssettings.gradle.ktsthat pinsorg.gradle.toolchains.foojay-resolver-conventionat0.5.0. That plugin referencesJvmVendorSpec.IBM_SEMERU, which Gradle deprecated in 8.8 and removed in 9.0 (IBM rebranded Semeru → IBM JDK). RN 0.85.x also ships a Gradle 9.3.1 wrapper, so the field lookup blows up the moment Gradle parses the included gradle-plugin build.pnpm patch@react-native/gradle-plugin@0.85.3to bump foojay to1.0.0— same change upstream RN made in@react-native/gradle-plugin@0.86.0. Lockfile + patch file are committed; CI'spnpm install --frozen-lockfilereapplies the patch on every run.Test plan
pnpm installapplies the patch — verifiednode_modules/.pnpm/@react-native+gradle-plugin@0.85.3.../settings.gradle.ktsline 16 reads... .version("1.0.0").pnpm -F @carol/client prebuild:androidsucceeds (regeneratesapps/client/android/)../gradlewverification — the dev box has no JDK installed, and bringing a Java 21 runtime + Android SDK up to confirm config-phase parsing is out of scope for this fix. The nextrelease-android.ymlrun (on tag push) is the real signal.Acceptance
The next tag-driven
release-android.ymlrun reaches at least the Gradle task graph — IBM_SEMERU is gone. A debug-fallback build (no keystore secrets) should also clear the configuration phase.Out of scope
react-nativeto 0.86.x (large surface, separate ticket).Closes #278.
🤖 Generated with Claude Code
📊 Test coverage
Patch coverage: no testable lines changed.
Overall (
app/,lib/,db/, excluding UI per ADR-0019):Soft thresholds per ADR-0019. Coverage is informational and does not block merge.