Skip to content

ci: run Android checks on Java 17 (3.x) - #475

Merged
nickolas-dimitrakas merged 1 commit into
maintenance/3.xfrom
ci/android-checks-3.x
Nov 18, 2026
Merged

nickolas-dimitrakas merged 1 commit into
maintenance/3.xfrom
ci/android-checks-3.x

Conversation

@nickolas-dimitrakas

Copy link
Copy Markdown
Contributor

Why

The Android checks on maintenance/3.x now 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 on main.

What changes

The Android part of #471, applied to maintenance/3.x.

  • Pull request checks: Android Unit Tests, Android Lint, Android kotlin lint and Android Sample App set up Java 17 before Gradle runs. The three standalone Android checks run with .github/gradle/android-checks.gradle, which keeps them on the sample app's React Native version.
  • Release Publish: its Android unit test job sets up Java 17 and uses the same init script.
  • ONBOARDING.md: the Android test command matches.

#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

@nickolas-dimitrakas
nickolas-dimitrakas requested a review from a team as a code owner November 17, 2026 23:42
@nickolas-dimitrakas nickolas-dimitrakas self-assigned this Nov 17, 2026
Copilot AI balanced review requested due to automatic review settings November 17, 2026 23:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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

@thomson-t thomson-t left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@nickolas-dimitrakas
nickolas-dimitrakas merged commit 85e8040 into maintenance/3.x Nov 18, 2026
12 checks passed
@nickolas-dimitrakas
nickolas-dimitrakas deleted the ci/android-checks-3.x branch November 18, 2026 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants