From 67c0f5057511099cacb1a3fdca5094b9c7dde53f Mon Sep 17 00:00:00 2001 From: Dat PHAM HOANG Date: Tue, 8 Feb 2022 11:52:53 +0700 Subject: [PATCH] Update dependencies and stacks to build in CI --- bitrise.yml | 2 +- core/pubspec.yaml | 10 +++++----- ios/Runner.xcodeproj/project.pbxproj | 2 +- .../xcshareddata/xcschemes/Runner.xcscheme | 2 +- model/pubspec.yaml | 12 +++++++----- pubspec.yaml | 16 ++++++++-------- 6 files changed, 23 insertions(+), 21 deletions(-) diff --git a/bitrise.yml b/bitrise.yml index e9b0bba5f..68bfdbc6d 100644 --- a/bitrise.yml +++ b/bitrise.yml @@ -49,7 +49,7 @@ workflows: - git-clone@6: {} - flutter-installer@0: inputs: - - installation_bundle_url: https://storage.googleapis.com/flutter_infra_release/releases/stable/macos/flutter_macos_2.8.1-stable.zip + - installation_bundle_url: https://storage.googleapis.com/flutter_infra_release/releases/stable/macos/flutter_macos_2.10.0-stable.zip - is_update: 'false' - script@1: title: Do anything with Script step diff --git a/core/pubspec.yaml b/core/pubspec.yaml index 5a7c2a415..0c2e806b8 100644 --- a/core/pubspec.yaml +++ b/core/pubspec.yaml @@ -20,7 +20,7 @@ publish_to: none version: 1.0.0+1 environment: - sdk: ">=2.12.0 <3.0.0" + sdk: ">=2.14.0 <3.0.0" dependencies: flutter: @@ -31,18 +31,18 @@ dependencies: cupertino_icons: ^1.0.2 # flutter_svg - flutter_svg: 0.22.0 + flutter_svg: 1.0.3 # Http client - dio: 4.0.0 + dio: 4.0.4 # dartz - dartz: 0.10.0-nullsafety.2 + dartz: 0.10.1 # equatable equatable: 2.0.3 - built_collection: 5.1.0 + built_collection: 5.1.1 html: 0.15.0 diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index d12d133f1..4e3229cd2 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -155,7 +155,7 @@ 97C146E61CF9000F007C117D /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 1020; + LastUpgradeCheck = 1300; ORGANIZATIONNAME = ""; TargetAttributes = { 97C146ED1CF9000F007C117D = { diff --git a/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index a28140cfd..3db53b6e1 100644 --- a/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ =2.12.0 <3.0.0" + sdk: ">=2.14.0 <3.0.0" dependencies: flutter: @@ -37,7 +37,7 @@ dependencies: equatable: 2.0.3 # quiver - quiver: 3.0.1 + quiver: 3.0.1+1 # intl intl: 0.17.0 @@ -52,7 +52,7 @@ dependencies: uri: 1.0.0 # json_annotation - json_annotation: 4.0.1 + json_annotation: 4.4.0 # http_parser http_parser: 4.0.0 @@ -64,9 +64,11 @@ dev_dependencies: flutter_test: sdk: flutter - build_runner: 2.0.5 + build_runner: 2.1.7 - json_serializable: 4.1.3 + json_serializable: 6.1.4 + + analyzer: 3.2.0 # For information on the generic Dart part of this file, see the # following page: https://dart.dev/tools/pub/pubspec diff --git a/pubspec.yaml b/pubspec.yaml index 79517fd40..5645978be 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -18,7 +18,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ">=2.12.0 <3.0.0" + sdk: ">=2.14.0 <3.0.0" dependencies: flutter: @@ -41,13 +41,13 @@ dependencies: get: 4.1.4 # intl - intl_generator: 0.2.0+0 + intl_generator: 0.2.1 # flutter_svg - flutter_svg: 0.22.0 + flutter_svg: 1.0.3 # Http client - dio: 4.0.0 + dio: 4.0.4 # equatable equatable: 2.0.3 @@ -56,12 +56,12 @@ dependencies: shared_preferences: 2.0.5 # either - dartz: 0.10.0-nullsafety.2 + dartz: 0.10.1 # flutter_typeahead flutter_typeahead: 3.1.1 - built_collection: 5.1.0 + built_collection: 5.1.1 # jmap_dart_client jmap_dart_client: @@ -126,9 +126,9 @@ dev_dependencies: flutter_test: sdk: flutter - build_runner: 2.0.5 + build_runner: 2.1.7 - mockito: 5.0.10 + mockito: 5.0.17 hive_generator: 1.1.1 # For information on the generic Dart part of this file, see the