Update Android toolchain to AGP 9.2.0 / Gradle 9.5.1 / Kotlin 2.3.21#501
Merged
Conversation
dewabisma
approved these changes
May 27, 2026
Collaborator
dewabisma
left a comment
There was a problem hiding this comment.
GTG!
That warning is concerning though.
Collaborator
Author
Tried to fix it which then broke the build ... we can fix this once flutter actually doesn't allow this anymore by that time hopefully they've also fixed the kinks and all the packages have been updated |
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.
Summary
Upgrades the Android build to the latest stable toolchain versions and fixes the Gradle 9 incompatibility in the Cargokit Rust integration.
Upgraded versions
Fixes
quantus_sdk/rust_builder/cargokit/gradle/plugin.gradle): Gradle 9 removedProject.exec, which the Cargokit plugin relied on, causing builds to fail withCould not find method exec() for arguments [...] on project ':rust_lib_quantus_wallet'. MigratedCargoKitBuildTaskto use the injectedExecOperationsservice (the official replacement per Gradle 9 upgrade guide).applicationVariantsAPI).android.*flags surfaced by the AGP migrator.Known follow-ups (not in this PR)
android.newDsl=true, and many third-party Flutter plugins (flutter_timezone,local_auth_android,mobile_scanner,play_install_referrer,share_plus,shared_preferences_android,telemetrydecksdk,app_links, ...) still apply the legacykotlin-androidplugin. The Flutter team explicitly recommends keepingbuiltInKotlin=falseandnewDsl=falseuntil those migrate. The "future Flutter" warnings during build are informational and not fatal.Test plan
flutter build apksucceeds (verified:Built build/app/outputs/flutter-apk/app-release.apk (94.3MB)in ~93s)rust_lib_quantus_wallet) still works at runtime (key signing, wormhole, etc.)google-services4.4.4Notes
We get the following warnings on flutter builds - but "fixing" them causes actual build errors, so this is just flutter being a little bit retarded...