Repository navigation
ci: Pin Java 17 for Android updater - #4113
Merged
Merged
Conversation
Ubuntu 26.04 defaults to Java 25, which cannot run the example's Gradle 8.14.3 wrapper during JNI binding regeneration. Select Temurin 17 before running the Android dependency updater. Co-Authored-By: Codex <noreply@openai.com>
Contributor
Semver Impact of This PR⚪ None (no version bump detected) 📋 Changelog PreviewThis is how your changes will appear in the changelog. FeaturesFlutter
FixesFlutter
Other
DependenciesDeps
Internal Changes
🤖 This preview updates automatically when you update the PR. |
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The change is narrowly scoped, correctly ordered, and has no identified blocking issues.
No open issues 🎉
What changed in this PR
Pins Temurin Java 17 for the Android dependency updater so the example’s Gradle build can regenerate JNI bindings without relying on the runner’s default Java version.
Changes:
- Adds a commit-pinned
actions/setup-javastep before the Android updater. - Leaves the remaining updater configuration unchanged.
| File | Description |
|---|---|
.github/workflows/update-deps.yml |
Configures Temurin Java 17 before running the Android dependency updater. |
Review effort: Balanced
denrase
approved these changes
Oct 22, 2026
This was referenced Oct 22, 2026
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.
📜 Description
Set up Temurin Java 17 before running the Android dependency updater so the example's Gradle 8.14.3 build can regenerate JNI bindings.
💡 Motivation and Context
ubuntu-latestnow resolves to Ubuntu 26.04 with Java 25 as its default. This breaks the build required by Android SDK updates withUnsupported class file major version 69. Pinning Java 17 matches the other Android CI jobs.Observed in the failed Android update job.
💚 How did you test it?
Parsed the workflow YAML, verified Java 17 setup precedes the updater, and confirmed the remaining configuration is unchanged. The diff passes whitespace checks. The full dependency updater runs on main after merge.
📝 Checklist
sendDefaultPiiis enabled