Skip to content

Commit

Permalink
Update lowest supported dart version to 2.18.6 (for Analyze 5+)
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsenko committed Dec 19, 2022
1 parent ca23a4a commit d425520
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 13 deletions.
2 changes: 1 addition & 1 deletion common/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion ffigen/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions flutter/realm_flutter/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions flutter/realm_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
9 changes: 6 additions & 3 deletions flutter/realm_flutter/tests/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -25,11 +25,14 @@ 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


flutter:
uses-material-design: true
assets:
- data/realm_files/old-format.realm

dependency_overrides:
test_api: 0.4.17
4 changes: 2 additions & 2 deletions generator/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d425520

Please sign in to comment.