Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Deprecated imperative apply of Flutter's Gradle plugins #968

Closed
yuruyuri16 opened this issue Feb 23, 2024 · 2 comments
Closed

fix: Deprecated imperative apply of Flutter's Gradle plugins #968

yuruyuri16 opened this issue Feb 23, 2024 · 2 comments
Labels
bug Something isn't working as expected

Comments

@yuruyuri16
Copy link

Description
Since Flutter 3.16, Flutter's Gradle plugins are now applied using the Plugin DSL syntax instead of the legacy script syntax.

More info here

Steps To Reproduce

  1. Create a very good flutter app
  2. Run in android and some deprecation messages will pop up.

Expected Behavior
Run with no warnings.

Screenshots
Screenshot 2024-02-23 at 14 55 57

@alestiago
Copy link
Contributor

I was able to reproduce this issue when running on a physical Android device running on Android 10.

You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-apply

You are applying Flutter's main Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-apply

@alestiago
Copy link
Contributor

Closing this issue, since it is being moved to very_good_templates, VeryGoodOpenSource/very_good_templates#75.

@alestiago alestiago closed this as not planned Won't fix, can't repro, duplicate, stale Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

2 participants