Skip to content

Migrate Plugin to Built-in Kotlin (AGP 9+) #160

Description

@chems17

I am using rate_my_app 2.4.0 in a Flutter app with AGP 9.0 and android.builtInKotlin=false (temporary Flutter workaround).

Starting with Android Gradle Plugin (AGP) 9.0, support for applying the Kotlin Gradle Plugin (KGP) separately is deprecated. This plugin still applies kotlin-android in android/build.gradle, so Flutter reports it among plugins that apply KGP:

WARNING: Your app uses the following plugins that apply Kotlin Gradle Plugin (KGP): ... rate_my_app ...
Future versions of Flutter will fail to build if your app uses plugins that apply KGP.

Flutter has temporarily allowed KGP while apps and plugins migrate, but this support will be removed in a future Flutter release (before AGP 10 removes the opt-out entirely).

Request: Please migrate this plugin to built-in Kotlin so consumers can drop android.builtInKotlin=false and build with future Flutter versions.

References:

Thank you!

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