From d425520424a6bd3ed619bac125870f02a15ec058 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Overg=C3=A5rd=20Nielsen?= Date: Mon, 19 Dec 2022 09:12:34 +0100 Subject: [PATCH] Update lowest supported dart version to 2.18.6 (for Analyze 5+) --- common/pubspec.yaml | 2 +- example/pubspec.yaml | 2 +- ffigen/pubspec.yaml | 2 +- flutter/realm_flutter/example/pubspec.yaml | 4 ++-- flutter/realm_flutter/pubspec.yaml | 4 ++-- flutter/realm_flutter/tests/pubspec.yaml | 9 ++++++--- generator/pubspec.yaml | 4 ++-- pubspec.yaml | 2 +- 8 files changed, 16 insertions(+), 13 deletions(-) diff --git a/common/pubspec.yaml b/common/pubspec.yaml index d9f6c4af89..bdc7045397 100644 --- a/common/pubspec.yaml +++ b/common/pubspec.yaml @@ -12,7 +12,7 @@ issue_tracker: https://github.com/realm/realm-dart/issues publish_to: none environment: - sdk: '>=2.17.5 <3.0.0' + sdk: '>=2.18.6 <3.0.0' dependencies: objectid: ^2.1.0 diff --git a/example/pubspec.yaml b/example/pubspec.yaml index d018cced01..694caced85 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -4,7 +4,7 @@ description: A simple command-line application using Realm Dart SDK. publish_to: none environment: - sdk: ">=2.17.5 <3.0.0" + sdk: ">=2.18.6 <3.0.0" dependencies: realm_dart: diff --git a/ffigen/pubspec.yaml b/ffigen/pubspec.yaml index 9ca1564049..86278bcd1c 100644 --- a/ffigen/pubspec.yaml +++ b/ffigen/pubspec.yaml @@ -5,7 +5,7 @@ description: >- publish_to: none environment: - sdk: '>=2.17.5 <3.0.0' + sdk: '>=2.18.6 <3.0.0' dev_dependencies: ffigen: ^6.0.1 \ No newline at end of file diff --git a/flutter/realm_flutter/example/pubspec.yaml b/flutter/realm_flutter/example/pubspec.yaml index 52a04fdbd8..9cc132df75 100644 --- a/flutter/realm_flutter/example/pubspec.yaml +++ b/flutter/realm_flutter/example/pubspec.yaml @@ -7,8 +7,8 @@ version: 0.8.0+rc publish_to: "none" environment: - sdk: ">=2.17.5 <3.0.0" - flutter: ">=3.0.0" + sdk: ">=2.18.6 <3.0.0" + flutter: ">=3.3.10" dependencies: flutter: diff --git a/flutter/realm_flutter/pubspec.yaml b/flutter/realm_flutter/pubspec.yaml index 146953c05d..a7bb885e5b 100644 --- a/flutter/realm_flutter/pubspec.yaml +++ b/flutter/realm_flutter/pubspec.yaml @@ -9,8 +9,8 @@ issue_tracker: https://github.com/realm/realm-dart/issues publish_to: none environment: - sdk: ">=2.17.5 <3.0.0" - flutter: ">=3.0.0" + sdk: ">=2.18.6 <3.0.0" + flutter: ">=3.3.10" dependencies: flutter: diff --git a/flutter/realm_flutter/tests/pubspec.yaml b/flutter/realm_flutter/tests/pubspec.yaml index 9b78e02c3b..fdd73bbcae 100644 --- a/flutter/realm_flutter/tests/pubspec.yaml +++ b/flutter/realm_flutter/tests/pubspec.yaml @@ -6,8 +6,8 @@ publish_to: "none" version: 0.8.0+rc environment: - sdk: ">=2.17.5 <3.0.0" - flutter: ">=3.0.0" + sdk: ">=2.18.6 <3.0.0" + flutter: ">=3.3.10" dependencies: flutter: @@ -25,7 +25,7 @@ dev_dependencies: sdk: flutter flutter_lints: ^2.0.1 build_runner: ^2.1.2 - test: ^1.20.1 + test: ^1.22.0 timezone: ^0.9.0 @@ -33,3 +33,6 @@ flutter: uses-material-design: true assets: - data/realm_files/old-format.realm + +dependency_overrides: + test_api: 0.4.17 diff --git a/generator/pubspec.yaml b/generator/pubspec.yaml index 4a9b8c724c..be0ede0d05 100644 --- a/generator/pubspec.yaml +++ b/generator/pubspec.yaml @@ -12,7 +12,7 @@ issue_tracker: https://github.com/realm/realm-dart/issues publish_to: none environment: - sdk: ">=2.17.5 <3.0.0" + sdk: ">=2.18.6 <3.0.0" dependencies: analyzer: ^5.0.0 @@ -28,5 +28,5 @@ dev_dependencies: build_test: ^2.1.4 lints: ^2.0.0 - test: ^1.14.3 + test: ^1.22.0 path: ^1.0.0 diff --git a/pubspec.yaml b/pubspec.yaml index eeb28a7c64..f0f81616a4 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -9,7 +9,7 @@ issue_tracker: https://github.com/realm/realm-dart/issues publish_to: none environment: - sdk: ">=2.17.5 <3.0.0" + sdk: ">=2.18.6 <3.0.0" dependencies: args: ^2.3.0