Skip to content

chore(deps): update Android Gradle Plugin from 8.13.1 to 9.0.0#595

Open
mtrewartha wants to merge 3 commits intomainfrom
claude/update-gradle-plugin-sEIWM
Open

chore(deps): update Android Gradle Plugin from 8.13.1 to 9.0.0#595
mtrewartha wants to merge 3 commits intomainfrom
claude/update-gradle-plugin-sEIWM

Conversation

@mtrewartha
Copy link
Owner

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

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants