Repository navigation
ci: run Android checks on Java 17 (3.x) - #475
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are blocking the Android CI compatibility backport.
No open issues 🎉
What changed in this PR
Backports the Android CI fixes from #471 to maintenance/3.x, selecting compatible Java and React Native versions without changing the published package.
Changes:
- Sets up Java 17 in all four Android pull request jobs and the release Android unit test job.
- Adds a Gradle init script that keeps standalone Android checks on the sample app’s React Native version.
- Updates the onboarding test command to use the same script.
| File | Description |
|---|---|
ONBOARDING.md |
Updates the documented Android test command. |
.github/workflows/release-publish.yml |
Configures Java 17 and the init script for Android unit tests. |
.github/workflows/pull-request.yml |
Configures Java 17 for Android jobs and the init script for standalone checks. |
.github/gradle/android-checks.gradle |
Forces react-android to the sample app’s React Native version. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The Android checks on
maintenance/3.xnow fail before they build: the runner's default Java is newer than this branch's Gradle can read ("Unsupported class file major version 69"). Every pull request to this branch is blocked by its required Android checks, and Release Publish would stop at its Android unit tests. #471 fixed the same thing onmain.What changes
The Android part of #471, applied to
maintenance/3.x..github/gradle/android-checks.gradle, which keeps them on the sample app's React Native version.#471's other edits (action pin comments) don't apply to this branch and are left out. No changelog entry, because nothing in the published package changes.
Rollout
CI only; nothing is published. Turning it off: revert this pull request.
What we watch: the Android checks on this pull request pass.
Risk class: low.
🤖 Generated with Claude Code