Skip to content

Migrate to Built-in Kotlin (AGP 9+ compatibility) #646

Description

@CharlieMacnamara

I am using flutter_tts in my Flutter app.

Starting with Android Gradle Plugin (AGP) 9.0, support for applying the Kotlin Gradle Plugin (KGP) has been removed. Because this plugin applies KGP via apply plugin: 'kotlin-android' in android/build.gradle, it causes a deprecation warning that will become a build error in a future Flutter version.

Flutter has temporarily added support to allow KGP while apps and plugins migrate to AGP 9.0 or later, but this support will be removed in a future version of Flutter.

Please migrate this plugin to use built-in Kotlin to ensure your plugin users can successfully build their apps in future versions of Flutter.

Here is the Flutter migration guide for plugin authors: https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors

  • Flutter SDK: 3.44.0
  • AGP: 9.0.1
  • flutter_tts: 4.2.5

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions