Description
share_plus v13.1.0 still applies id("kotlin-android") in its
Android build configuration.
Starting from Flutter 3.41+, this triggers the following warning at build time:
WARNING: Your app uses the following plugins that apply Kotlin Gradle Plugin (KGP):
share_plus
Future versions of Flutter will fail to build if your app uses plugins that apply KGP.
Expected behavior
The plugin should migrate to Flutter's Built-in Kotlin support by removing the
explicit id("kotlin-android") plugin application and relying on Flutter's
dev.flutter.flutter-gradle-plugin to handle Kotlin internally.
References
Environment
- Flutter: 3.44.0
- share_plus: 13.1.0
- Dart: 3.11.0
Description
share_plusv13.1.0 still appliesid("kotlin-android")in itsAndroid build configuration.
Starting from Flutter 3.41+, this triggers the following warning at build time:
Expected behavior
The plugin should migrate to Flutter's Built-in Kotlin support by removing the
explicit
id("kotlin-android")plugin application and relying on Flutter'sdev.flutter.flutter-gradle-pluginto handle Kotlin internally.References
https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors
Environment