From ea9964de668464fbc644527e16e37be7bf1039cd Mon Sep 17 00:00:00 2001 From: Parker Lougheed Date: Sat, 16 Nov 2024 02:49:41 +0800 Subject: [PATCH] Consistently require Dart 3.1 (#3941) Some initial version standardization before beginning to share more analysis configuration in this repository. --- analyze/pubspec.yaml | 2 +- app_dart/pubspec.yaml | 2 +- auto_submit/pubspec.yaml | 2 +- cipd_packages/codesign/pubspec.yaml | 2 +- cipd_packages/device_doctor/pubspec.yaml | 2 +- dev/githubanalysis/pubspec.yaml | 2 +- dev/wiki-visualizer/pubspec.yaml | 2 +- licenses/pubspec.yaml | 2 +- packages/buildbucket-dart/pubspec.yaml | 2 +- test_utilities/pubspec.yaml | 2 +- triage_bot/pubspec.yaml | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/analyze/pubspec.yaml b/analyze/pubspec.yaml index bd88731df..f8d2a7ef0 100644 --- a/analyze/pubspec.yaml +++ b/analyze/pubspec.yaml @@ -3,7 +3,7 @@ description: Cocoon static analysis scripts publish_to: none environment: - sdk: ">=2.18.0 <4.0.0" + sdk: ^3.1.0 dependencies: file: 7.0.1 diff --git a/app_dart/pubspec.yaml b/app_dart/pubspec.yaml index fd49ec2b3..480b29a75 100644 --- a/app_dart/pubspec.yaml +++ b/app_dart/pubspec.yaml @@ -8,7 +8,7 @@ homepage: https://github.com/flutter/cocoon publish_to: none environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: ^3.1.0 dependencies: appengine: 0.13.7 diff --git a/auto_submit/pubspec.yaml b/auto_submit/pubspec.yaml index c7e59694a..4f081fb09 100644 --- a/auto_submit/pubspec.yaml +++ b/auto_submit/pubspec.yaml @@ -8,7 +8,7 @@ publish_to: none homepage: https://github.com/flutter/cocoon/blob/main/autosubmit environment: - sdk: '>=3.0.0 <4.0.0' + sdk: ^3.1.0 dependencies: appengine: 0.13.9 diff --git a/cipd_packages/codesign/pubspec.yaml b/cipd_packages/codesign/pubspec.yaml index 7375ccdbd..ab07e5d02 100644 --- a/cipd_packages/codesign/pubspec.yaml +++ b/cipd_packages/codesign/pubspec.yaml @@ -4,7 +4,7 @@ version: 1.0.0 homepage: https://github.com/flutter/cocoon environment: - sdk: '>=2.18.0 <4.0.0' + sdk: ^3.1.0 dev_dependencies: lints: 5.0.0 diff --git a/cipd_packages/device_doctor/pubspec.yaml b/cipd_packages/device_doctor/pubspec.yaml index be51d9a76..70fa1e588 100644 --- a/cipd_packages/device_doctor/pubspec.yaml +++ b/cipd_packages/device_doctor/pubspec.yaml @@ -3,7 +3,7 @@ description: A Dart tool to check device healthiness and implement recovery mech version: 1.0.1 environment: - sdk: ">=2.18.0 <4.0.0" + sdk: ^3.1.0 dependencies: analyzer: 6.4.1 diff --git a/dev/githubanalysis/pubspec.yaml b/dev/githubanalysis/pubspec.yaml index 796a201a2..01f5acb70 100644 --- a/dev/githubanalysis/pubspec.yaml +++ b/dev/githubanalysis/pubspec.yaml @@ -1,7 +1,7 @@ name: githubanalysis environment: - sdk: '>=3.0.0-245.0.dev <4.0.0' + sdk: ^3.1.0 dependencies: github: ^9.9.0 diff --git a/dev/wiki-visualizer/pubspec.yaml b/dev/wiki-visualizer/pubspec.yaml index b054350e0..503bfdea1 100644 --- a/dev/wiki-visualizer/pubspec.yaml +++ b/dev/wiki-visualizer/pubspec.yaml @@ -3,7 +3,7 @@ description: A sample command-line application. version: 1.0.0 environment: - sdk: ^3.2.0-38.0.dev + sdk: ^3.2.0 dev_dependencies: lints: ^2.0.0 diff --git a/licenses/pubspec.yaml b/licenses/pubspec.yaml index 168f9e517..4f199b787 100644 --- a/licenses/pubspec.yaml +++ b/licenses/pubspec.yaml @@ -2,7 +2,7 @@ name: license_checks description: Script to check licenses. environment: - sdk: ">=2.18.0 <4.0.0" + sdk: ^3.1.0 dependencies: path: 1.9.1 diff --git a/packages/buildbucket-dart/pubspec.yaml b/packages/buildbucket-dart/pubspec.yaml index 91f7cd839..427830acc 100644 --- a/packages/buildbucket-dart/pubspec.yaml +++ b/packages/buildbucket-dart/pubspec.yaml @@ -4,7 +4,7 @@ version: 1.0.12 repository: https://github.com/flutter/cocoon/tree/main/packages/buildbucket-dart environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: ^3.1.0 dependencies: protoc_plugin: 21.1.2 diff --git a/test_utilities/pubspec.yaml b/test_utilities/pubspec.yaml index 4f44862ed..b435c6ce6 100644 --- a/test_utilities/pubspec.yaml +++ b/test_utilities/pubspec.yaml @@ -7,7 +7,7 @@ description: Flutter continuous integration agent (Cocoon agent) homepage: https://github.com/flutter/cocoon environment: - sdk: '>=2.18.0 < 4.0.0' + sdk: ^3.1.0 dev_dependencies: args: 2.6.0 diff --git a/triage_bot/pubspec.yaml b/triage_bot/pubspec.yaml index bf6436417..0c86de078 100644 --- a/triage_bot/pubspec.yaml +++ b/triage_bot/pubspec.yaml @@ -5,7 +5,7 @@ repository: https://github.com/flutter/cocoon/ publish_to: 'none' environment: - sdk: ^3.0.0 + sdk: ^3.1.0 dependencies: appengine: ^0.13.5