- Updated package version to 1.0.0.

- Updated Flutter and various plugin dependencies to their latest versions.
- Updated Android Gradle configuration to version 8.11.1 and made other necessary adjustments.
- Updated example app configurations for Android, iOS, macOS, Linux, and Windows.
- Updated copyright year in LICENSE file.
- Minor code style update
This commit is contained in:
bijoy
2025-05-20 13:30:23 +06:00
parent 97a7ba8555
commit eb2f82cc91
24 changed files with 111 additions and 93 deletions

View File

@@ -1,3 +1,9 @@
plugins {
id "com.android.application"
id "kotlin-android"
id "dev.flutter.flutter-gradle-plugin"
}
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
@@ -6,25 +12,16 @@ if (localPropertiesFile.exists()) {
}
}
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
flutterVersionCode = '34'
}
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0'
flutterVersionName = '3.0.0'
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
namespace "com.example.example"
compileSdkVersion flutter.compileSdkVersion