-
Notifications
You must be signed in to change notification settings - Fork 129
Description
Description
The current documentation for the 'flutter_config' package on pub.dev does not explain how to add the required Gradle files using the new DSL (Domain-Specific Language) syntax. This is crucial because all new Flutter projects now use DSL syntax by default.
Context
To build a Flutter app for Android, Flutter's Gradle plugins must be applied. Historically, this was done using Gradle's legacy, imperative apply script method. However, starting from Flutter 3.16, support was added for applying these plugins with Gradle's declarative plugins {} block (also known as the Plugin DSL), which 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.
Applying Gradle plugins using the plugins {} block executes the same code as before and should produce equivalent app binaries.
Request
Please provide updated documentation on pub.dev that includes instructions on how to configure the required Gradle files using the new Plugin DSL syntax. This will help ensure that developers using the 'flutter_config' package can easily set up their projects with the latest standards.
For more information about the advantages of the new Plugin DSL syntax over the legacy apply script syntax, you can refer to the DSL Migration Documentation.
Thank you for your attention to this matter.