Flutter 3.44.4 reports that the latest Google ML Kit Flutter packages still apply the legacy Kotlin Gradle Plugin (KGP), which future Flutter versions will no longer support.
Verified latest affected releases:
google_mlkit_commons 0.12.0
google_mlkit_language_id 0.14.0
google_mlkit_text_recognition 0.16.0
Their Android Gradle scripts unconditionally apply kotlin-android and configure kotlinOptions. The recent compileSdk 36 / AGP 9 compatibility changes do not yet migrate the plugins to AGP 9 built-in Kotlin.
Please follow Flutter's plugin-author migration guide:
https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors
Observed warning:
Your app uses the following plugins that apply Kotlin Gradle Plugin (KGP): google_mlkit_commons, google_mlkit_language_id, google_mlkit_text_recognition
Flutter 3.44.4 reports that the latest Google ML Kit Flutter packages still apply the legacy Kotlin Gradle Plugin (KGP), which future Flutter versions will no longer support.
Verified latest affected releases:
google_mlkit_commons 0.12.0google_mlkit_language_id 0.14.0google_mlkit_text_recognition 0.16.0Their Android Gradle scripts unconditionally apply
kotlin-androidand configurekotlinOptions. The recent compileSdk 36 / AGP 9 compatibility changes do not yet migrate the plugins to AGP 9 built-in Kotlin.Please follow Flutter's plugin-author migration guide:
https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors
Observed warning: