From 9afe61db420be0cb86191381b7990bba71495a3c Mon Sep 17 00:00:00 2001 From: inexcode Date: Tue, 8 Feb 2022 09:58:12 +0300 Subject: [PATCH] Migrate to Flutter 2.10 --- android/app/build.gradle | 2 +- android/app/src/main/AndroidManifest.xml | 2 +- android/build.gradle | 2 +- .../gradle/wrapper/gradle-wrapper.properties | 2 +- pubspec.lock | 218 +++++++++++------- pubspec.yaml | 4 +- 6 files changed, 136 insertions(+), 94 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 5e265753..6c963e03 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { - compileSdkVersion 29 + compileSdkVersion 31 sourceSets { main.java.srcDirs += 'src/main/kotlin' diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 7051d271..e4a41966 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -7,7 +7,7 @@ additional functionality it is fine to subclass or reimplement FlutterApplication and put your custom class here. --> =2.13.4 <3.0.0" - flutter: ">=2.5.0" + dart: ">=2.15.0 <3.0.0" + flutter: ">=2.10.0" diff --git a/pubspec.yaml b/pubspec.yaml index 88a6a95d..2ad267ae 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -5,7 +5,7 @@ version: 0.4.2+10 environment: sdk: '>=2.13.4 <3.0.0' - flutter: ">=2.5.0" + flutter: ">=2.10.0" dependencies: flutter: @@ -47,7 +47,7 @@ dev_dependencies: build_runner: ^2.1.1 flutter_launcher_icons: ^0.9.0 hive_generator: ^1.0.0 - json_serializable: ^4.0.2 + json_serializable: ^6.1.4 flutter_icons: android: "launcher_icon"