Skip to content

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

Open
kikoso wants to merge 3 commits intomainfrom
build/migrate-to-agp9-builtin-kotlin
Open

build: migrate to AGP 9 and built-in Kotlin support#908
kikoso wants to merge 3 commits intomainfrom
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

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