Update Gradle to be compatible with Latest Flutter version.#36
Open
SalehTZ wants to merge 8 commits intocafebazaar:masterfrom
Open
Update Gradle to be compatible with Latest Flutter version.#36SalehTZ wants to merge 8 commits intocafebazaar:masterfrom
SalehTZ wants to merge 8 commits intocafebazaar:masterfrom
Conversation
- Gradle to `8.10.2` - `ext.kotlin_version` to `1.8.22` - `com.android.tools.build:gradle` to `8.7.0` - `JavaVersion` to `JavaVersion.VERSION_11`
This commit migrates the example application's Gradle build scripts from Groovy to Kotlin DSL. This includes updating `build.gradle`, `app/build.gradle`, and `settings.gradle` to their Kotlin equivalents (`.kts`). The Kotlin DSL offers improved type safety, better IDE support, and a more concise syntax. Key changes: - Renamed `.gradle` files to `.gradle.kts`. - Updated syntax for plugin application, dependencies, and configurations. - Adjusted Java and Kotlin compilation options (e.g., `JavaVersion.VERSION_1_11`). - Ensured compatibility with existing project structure and Flutter integration. - Updated `com.android.application` plugin version to `8.7.0` and `org.jetbrains.kotlin.android` to `1.8.22`.
This commit refactors the example application for `flutter_poolakey`: - **UI Simplification:** Removed the `title` property from `MyHomePage` and simplified the UI by removing unnecessary comments and whitespace. - **Connection Status:** Updated the connection status messages to be more concise (e.g., "Service: Connected" to "Connected"). - **Widget Structure:** Minor adjustments to widget nesting and spacing for better readability. - **Snackbar Messages:** Added a snackbar message for the `subscribeProduct` success case.
The default flutter test was disabled in the example app. This commit re-enables it.
Updated the SDK constraint to ^3.7.2, cupertino_icons to ^1.0.8, and added flutter_lints ^5.0.0 in the example app's pubspec.yaml.
This commit updates the SDK constraint in `pubspec.yaml` to `^3.7.2` and adds `flutter_lints` as a dev dependency. Additionally, it updates the `.gitignore` file to ignore the `example/android/app/.cxx/` directory.
Author
|
@nasrabadiAM @mbfakourii Please review and merge if there's no issue. |
mbfakourii
approved these changes
Jun 27, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes #33 and resolves #35
Summary
This PR includes several improvements, updates, and fixes across the project and example app.
Changes
Documentation
README.mdwith new configuration notes and a troubleshooting section. (commit, commit)Project Configuration
pubspec.yamlto^3.7.2and addedflutter_lintsas a dev dependency..gitignoreto include theexample/android/app/.cxx/directory. (commit)Example App
^3.7.2,cupertino_iconsto^1.0.8, and addedflutter_lints ^5.0.0. (commit)Build System
For a full list of recent commits, see the commit history.