Repository navigation
Move to AGP 9.4.1, Gradle 9.8.1, Kotlin 2.4.20 and current androidx - #13
Merged
Merged
Conversation
AGP 9 needs Gradle 9.6 or newer and compiles Kotlin itself, so the kotlin-android plugin is gone. The new androidx libraries need compileSdk 37; targetSdk stays at 34. compileSdk 37 marks MediaCodecInfo.videoCapabilities as nullable, which pickEncoder now handles. Three functions get an explicit Unit return type, which Kotlin 2.5 will require. Replaces the Dependabot updates #5, #6 and #7. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 9, 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.
Brings the build up to date in one step, because the open Dependabot updates depend on each other: the new androidx libraries (#5) need AGP 9.1 or newer and compileSdk 37, and AGP 9 (#7) needs a newer Gradle. Replaces #5, #6 and #7.
Changes
kotlin-androidplugin is removedcompileSdk36 to 37.targetSdkstays at 34, so runtime behaviour on the phone does not changeCodec.pickEncoder:videoCapabilitiesis nullable in SDK 37. A null already ended as "not supported" throughrunCatching; now it does so without an exceptionUnitreturn types on three functions, which Kotlin 2.5 will requiretasks.registerinstead of theby registeringdelegate, which Gradle 10 removesTesting
./gradlew testDebugUnitTest lintDebug assembleDebug assembleRelease: 32 tests pass, lint is clean, and the R8 "error parsing kotlin metadata" warnings that Kotlin 2.4 caused under AGP 8 are gone🤖 Generated with Claude Code