Repository navigation
fix(build): provision JDK 21 for the Gradle daemon - #7080
Open
Hashim1999164 wants to merge 1 commit into
Open
Hashim1999164 wants to merge 1 commit into
Hashim1999164 wants to merge 1 commit into
Conversation
The daemon criteria required JDK 21 but shipped no download URLs, so a machine without that JDK failed before configuration. Record the Adoptium URLs, including macOS Apple Silicon, and note that minSdk 26 is the floor declared by android-common and vodozemac. Signed-off-by: Hashim <sardarhashim30@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Collaborator
|
Thank you for contributing, we will review soon |
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.
gradle/gradle-daemon-jvm.propertiesrequired JDK 21 but contained no toolchain download URLs. On a machine that does not already have JDK 21, the Gradle client fails before configuration withNo defined toolchain download url, which is what happens on macOS Apple Silicon.updateDaemonJvmnow records the Adoptium download URLs for every platform, includingMAC_OS.AARCH64. Any installed JDK 21 is still used. The URLs are only for provisioning when none is present. Verified by hiding local JDK 21 installs and running./gradlew help: Gradle downloaded Temurin 21.0.13 and the build started.minSdkstays 26. That is the lowest version the generic runtime classpath supports:android-common(ui and core) andtalk-clients-vodozemacdeclare 26, and every other dependency declares 24 or lower. The comment next tominSdkrecords that floor.🖼️ Screenshots
No UI change.
🚧 TODO
🏁 Checklist
/backport to stable-xx.x🤖 AI (if applicable)
Made with Cursor