Skip to content

Migrate plugin to built-in Kotlin #171

Description

@RafaelMarian

I am using ffmpeg_kit_flutter_new_min_gpl 2.6.2 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,
it causes a compilation error that prevents my app from building.
Flutter issue #181383
includes an example of the error.

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.

Additional details

  • Flutter 3.47
  • Android Gradle Plugin 9.0.1
  • Plugin version: ffmpeg_kit_flutter_new_min_gpl 2.6.2 (latest on pub.dev; changelog has no Built-in Kotlin migration)
  • The published plugin still applies KGP in android/build.gradle:
apply plugin: com.android.library
apply plugin: kotlin-android

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