Skip to content

Commit

Permalink
update min Dart SDK and Flutter SDK constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekpacia committed Nov 13, 2023
1 parent ade415f commit 3d271f9
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/adb-prepare.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
sdk: ['2.18.0', stable]
sdk: ['3.1']

defaults:
run:
Expand Down
4 changes: 2 additions & 2 deletions packages/adb/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ repository: https://github.com/leancodepl/patrol
issue_tracker: https://github.com/leancodepl/patrol/issues

environment:
sdk: '>=2.18.0 <4.0.0'
sdk: '>=3.1.0 <4.0.0'

dependencies:
mocktail: ^0.3.0
path: ^1.8.3

dev_dependencies:
leancode_lint: ^3.0.0
leancode_lint: ^7.0.0+1
test: ^1.22.2

executables:
Expand Down
4 changes: 2 additions & 2 deletions packages/patrol/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ publish_to: none
version: 1.0.0+1

environment:
sdk: '>=2.18.0 <3.0.0'
flutter: '>=3.3.0'
sdk: '>=3.2.0-0 <4.0.0'
flutter: '>=3.16.0-0'

dependencies:
cupertino_icons: ^1.0.5
Expand Down
4 changes: 2 additions & 2 deletions packages/patrol/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ repository: https://github.com/leancodepl/patrol
issue_tracker: https://github.com/leancodepl/patrol/issues

environment:
sdk: '>=2.18.0 <4.0.0'
flutter: '>=3.3.0'
sdk: '>=3.2.0-0 <4.0.0'
flutter: '>=3.16.0-0'

dependencies:
equatable: ^2.0.3
Expand Down
2 changes: 1 addition & 1 deletion packages/patrol_cli/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repository: https://github.com/leancodepl/patrol
issue_tracker: https://github.com/leancodepl/patrol/issues

environment:
sdk: '>=2.18.0 <4.0.0'
sdk: '>=3.2.0-0 <4.0.0'

dependencies:
adb: ^0.2.5
Expand Down
4 changes: 0 additions & 4 deletions packages/patrol_cli/test/src/fakes.dart
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
import 'dart:io' as io;

import 'package:mocktail/mocktail.dart';
import 'package:platform/platform.dart';

class FakeProcessResult extends Fake implements io.ProcessResult {}

void setUpFakes() {
registerFallbackValue(Uri());
}
Expand Down
4 changes: 2 additions & 2 deletions packages/patrol_finders/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ publish_to: none
version: 1.0.0+1

environment:
sdk: '>=2.18.0 <3.0.0'
flutter: '>=3.3.0'
sdk: '>=3.2.0-0 <4.0.0'
flutter: '>=3.16.0-0'

dependencies:
cupertino_icons: ^1.0.5
Expand Down
4 changes: 2 additions & 2 deletions packages/patrol_finders/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ repository: https://github.com/leancodepl/patrol
issue_tracker: https://github.com/leancodepl/patrol/issues

environment:
sdk: '>=2.18.0 <4.0.0'
flutter: '>=3.16.0-0.3.pre'
sdk: '>=3.2.0-0 <4.0.0'
flutter: '>=3.16.0-0'

dependencies:
flutter:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: location_workspace

environment:
sdk: '>=2.18.0 <4.0.0'
sdk: '>=3.2.0-0 <4.0.0'

dev_dependencies:
melos: ^3.1.1

0 comments on commit 3d271f9

Please sign in to comment.