COS-IT-FLOWS / Gather

A data collection app that leverages the flutter framework with Dart and Supabase to enable community to upload weather data. It's built on the flutter framework and written in Dart.
MIT License
3 stars 3 forks source link

Migrate Gradle plugin application from deprecated imperative method to new declarative approach #22

Open reticent-roklimber opened 4 months ago

reticent-roklimber commented 4 months ago

Describe the bug On building application, the following warning is shown. 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.

To build a Flutter app for Android, Flutter's Gradle plugins must be applied. Historically, this was done imperatively with Gradle's legacy, imperative apply script method.

In Flutter 3.16, support was added for applying these plugins with Gradle's declarative plugins {} block (also called the Plugin DSL) and it is now the recommended approach. Since Flutter 3.16, projects generated with flutter create use the Plugin DSL to apply Gradle plugins. Projects created with versions of Flutter prior to 3.16 need to be migrated manually.

Make necessary changes to required files using the documentation here. .

RotRot-pi commented 2 months ago

Hello, I would like to work on this issue.

reticent-roklimber commented 2 months ago

Hello, I would like to work on this issue. Hi @RotRot-pi , thank you for showing interest in contributing to our repository. You are welcome to make changes here. I would recommend forking from 'release' branch since that is the most updated at this point. Shall I go ahead and assign you to this issue?