Skip to content

build(android): support AGP 9 built-in Kotlin#11680

Draft
Tinnci wants to merge 1 commit intoflutter:mainfrom
Tinnci:agp9-built-in-kotlin
Draft

build(android): support AGP 9 built-in Kotlin#11680
Tinnci wants to merge 1 commit intoflutter:mainfrom
Tinnci:agp9-built-in-kotlin

Conversation

@Tinnci
Copy link
Copy Markdown

@Tinnci Tinnci commented May 10, 2026

Draft status

This is an AGP 9 built-in Kotlin migration draft. It removes explicit kotlin-android application from Android plugin Gradle files that already use Kotlin DSL/build configuration compatible with built-in Kotlin.

Do not treat this as merge-ready unless this repository is ready to rely on AGP 9 built-in Kotlin. If AGP 8 compatibility is still required, this should be revised to the maintainer-preferred compatibility shape instead of removing the Kotlin Gradle plugin.

Scope

  • local_auth_android
  • shared_preferences_android

No Dart APIs, Android manifests, SDK versions, or runtime code are changed.

Verification

  • rg "kotlin-android|org.jetbrains.kotlin.android|kotlinOptions" on touched Android Gradle files returns no matches.
  • git diff --check
  • Consuming app validation with AGP 9: flutter pub get, flutter build apk --debug, ./gradlew -q :app:checkKotlinGradlePluginConfigurationErrors, flutter analyze --no-fatal-infos.

@google-cla
Copy link
Copy Markdown

google-cla Bot commented May 10, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@Tinnci Tinnci changed the title [Android] Support AGP 9 built-in Kotlin [Draft][Android] Support AGP 9 built-in Kotlin May 10, 2026
@Tinnci Tinnci changed the title [Draft][Android] Support AGP 9 built-in Kotlin build(android): support AGP 9 built-in Kotlin May 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant