build(deps): bump androidGradlePlugin from 8.13.2 to 9.3.1 - #714
Merged
Conversation
david-allison
commented
Aug 9, 2026
Member
- Fixes build(deps): bump androidGradlePlugin from 8.13.2 to 9.3.1 #710
Replace legacy 'apply plugin:' + buildscript classpath wiring with `plugins {}`.
Prep for AGP 9
Assisted-by: Claude Fable 5
Removing it means one less Kotlin task-type reference to migrate for AGP 9 Assisted-by: Claude Fable 5
AGP 9 requires Kotlin 2.3.0+ (it is a transitive dependency of the plugin), so this must land before the AGP bump. Matches the Kotlin version Anki-Android used for its AGP 9 migration. Assisted-by: Claude Fable 5
AGP 9's new DSL drops the following from library modules: * `targetSdk` * `versionCode` * `versionName` Assisted-by: Claude Fable 5
Renamed in AGP 8, removed in AGP 9 Assisted-by: Claude Fable 5
In AGP 9, bundleLocalLintAar contains no jniLibs, so it would fail our check, which was intended to be production-only Assisted-by: Claude Fable 5
AGP 9's bundling of Kotlin required a few changes: - stop applying kotlin-android in Android modules; keep KGP for the JVM-only rsdroid-testing module - drop `jvmTarget`: defaulted to 11 by the built-in Kotlin See also: Anki-Android PR 19423 Assisted-by: Claude Fable 5
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.