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

Migrate deprecated apply method to declarative plugins block in Gradle script #66

Closed
2 tasks done
may-tas opened this issue Nov 3, 2024 · 2 comments · Fixed by #69
Closed
2 tasks done

Migrate deprecated apply method to declarative plugins block in Gradle script #66

may-tas opened this issue Nov 3, 2024 · 2 comments · Fixed by #69

Comments

@may-tas
Copy link

may-tas commented Nov 3, 2024

Description :

  • Currently when you run the app you get the following warning in debug console :
    • " 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 ".

Issue :

  • The Flutter project currently applies the app_plugin_loader Gradle plugin imperatively using the apply script method.
  • The apply method is deprecated and will be removed in a future release of Gradle.
  • This could lead to build failures in the future once the deprecated method is removed.

Proposed solution :

  • Migrate from the deprecated apply method to the declarative plugins block in the Gradle script.
  • Follow the official guidelines from Flutter for this migration: Flutter Gradle plugin migration guide.

Would you like to work on this issue?

Yes

Terms & Conditions :

  • I agree to follow the Code of Conduct
  • I'm a GSSOC'24 Ext contributor
Copy link

github-actions bot commented Nov 3, 2024

👋 Thanks for opening this issue! We appreciate your contribution. Please make sure you’ve provided all the necessary details and screenshots, and don't forget to follow our Guidelines and Code of Conduct. Happy coding! 🚀

Copy link

github-actions bot commented Nov 9, 2024

✅ This issue has been successfully closed. Thank you for your contribution and helping us improve the project! If you have any more ideas or run into other issues, feel free to open a new one. Happy coding! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants