Skip to content

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

Merged
dkhawk merged 5 commits into
mainfrom
build/migrate-to-agp9-builtin-kotlin
May 19, 2026
Merged

build: migrate to AGP 9 and built-in Kotlin support#908
dkhawk merged 5 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

googlemaps-bot commented May 7, 2026

Code Coverage

Overall Project 24.82% -0.66%
Files changed 0%

File Coverage
GroundOverlayActivity.kt 0% -7.31%
MarkerClusteringActivity.kt 0% -3.7%

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.

@dkhawk dkhawk merged commit 62f04b4 into main May 19, 2026
8 checks passed
@dkhawk dkhawk deleted the build/migrate-to-agp9-builtin-kotlin branch May 19, 2026 22:18
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