native_workmanager (1.8.1, latest) applies the Kotlin Gradle Plugin
unconditionally in its android/build.gradle, which makes it a blocker for
Flutter's upcoming Built-in Kotlin migration. On current Flutter this
already surfaces as a build-time warning, and per the Flutter team future
Flutter versions will fail to build for any app depending on a plugin that
applies KGP.
Flutter warning
WARNING: Your app uses the following plugins that apply Kotlin Gradle Plugin (KGP):
... native_workmanager ...
Future versions of Flutter will fail to build if your app uses plugins that apply KGP.
Please check the changelogs of these plugins and upgrade to a version that
supports Built-in Kotlin.
Guide: https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors
native_workmanager(1.8.1, latest) applies the Kotlin Gradle Pluginunconditionally in its
android/build.gradle, which makes it a blocker forFlutter's upcoming Built-in Kotlin migration. On current Flutter this
already surfaces as a build-time warning, and per the Flutter team future
Flutter versions will fail to build for any app depending on a plugin that
applies KGP.
Flutter warning
WARNING: Your app uses the following plugins that apply Kotlin Gradle Plugin (KGP):
... native_workmanager ...
Future versions of Flutter will fail to build if your app uses plugins that apply KGP.
Please check the changelogs of these plugins and upgrade to a version that
supports Built-in Kotlin.
Guide: https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors