chore(deps): update Android Gradle Plugin from 8.13.1 to 9.0.0#595
Open
mtrewartha wants to merge 3 commits intomainfrom
Open
chore(deps): update Android Gradle Plugin from 8.13.1 to 9.0.0#595mtrewartha wants to merge 3 commits intomainfrom
mtrewartha wants to merge 3 commits intomainfrom
Conversation
AGP 9.0 introduces built-in Kotlin support, so the kotlin-android plugin is no longer needed and has been removed from all build files. Also removes @Suppress("UnstableApiUsage") for test fixtures and managed devices APIs that are now stable in AGP 9.0. https://claude.ai/code/session_01CEciv6axiTK88bRRCc9wdq
- Update AGP from 9.0.0 to 9.0.1 (latest stable patch)
- Remove android.experimental.enableTestFixturesKotlinSupport (now
built-in with AGP 9.0's stable test fixtures Kotlin support)
- Remove android.useAndroidX and android.r8.optimizedResourceShrinking
(both are now defaults in AGP 9.0)
- Remove redundant jvmTarget from Android modules (built-in Kotlin
defaults to compileOptions.targetCompatibility)
- Remove redundant java {} block from Android convention plugin
(already configured via android.compileOptions)
https://claude.ai/code/session_01CEciv6axiTK88bRRCc9wdq
Dagger/Hilt 2.57.2 is incompatible with AGP 9.0 because its Gradle plugin uses the legacy BaseExtension API that was removed in AGP 9. Dagger 2.59+ adds AGP 9 support, and 2.59.1 fixes a runtime issue with the missing ComponentTreeDeps annotation. https://claude.ai/code/session_01CEciv6axiTK88bRRCc9wdq
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.
AGP 9.0 introduces built-in Kotlin support, so the kotlin-android
plugin is no longer needed and has been removed from all build files.
Also removes @Suppress("UnstableApiUsage") for test fixtures and
managed devices APIs that are now stable in AGP 9.0.
https://claude.ai/code/session_01CEciv6axiTK88bRRCc9wdq