Skip to content

build: migrate to AGP 9 and built-in Kotlin support#908

Open
kikoso wants to merge 4 commits into
mainfrom
build/migrate-to-agp9-builtin-kotlin
Open

build: migrate to AGP 9 and built-in Kotlin support#908
kikoso wants to merge 4 commits into
mainfrom
build/migrate-to-agp9-builtin-kotlin

Conversation

@kikoso
Copy link
Copy Markdown
Collaborator

@kikoso kikoso commented May 7, 2026

This PR updates the project to correctly use AGP 9.0+ features and conventions:

  • Removes the deprecated kotlin-android plugin and migrates to built-in Kotlin support.
  • Removes deprecated srcDir usages in favor of directories.add().
  • Adds explicitly generated source paths to the kotlin sourceSet so AttributionId builds properly.
  • Fixes 'Suspicious receiver type' warnings by moving kotlin and screenshotTests blocks outside the android block to the correct project scope.
  • Suppresses UnstableApiUsage warning for experimentalProperties usage.

@googlemaps-bot
Copy link
Copy Markdown
Contributor

Code Coverage

There is no coverage information present for the Files changed

Comment thread gradle/libs.versions.toml Outdated
androidx-core = "1.18.0"
androidx-startup = "1.2.0"
compose-bom = "2026.03.00"
compose-bom = "2026.05.00"
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Holding on the BoM update, since there seems to be an issue with the Marker InfoWindow.

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.

3 participants