diff --git a/ci/bin/format.dart b/ci/bin/format.dart index e68e046533c6f..9f6674c1ef69a 100644 --- a/ci/bin/format.dart +++ b/ci/bin/format.dart @@ -304,14 +304,19 @@ abstract class FormatChecker { /// Checks and formats C++/ObjC/Shader files using clang-format. class ClangFormatChecker extends FormatChecker { ClangFormatChecker({ - super.processManager, - required super.baseGitRef, - required super.repoDir, + ProcessManager processManager = const LocalProcessManager(), + required String baseGitRef, + required Directory repoDir, required Directory srcDir, - super.allFiles, - super.messageCallback, + bool allFiles = false, + MessageCallback? messageCallback, }) : super( + processManager: processManager, + baseGitRef: baseGitRef, + repoDir: repoDir, srcDir: srcDir, + allFiles: allFiles, + messageCallback: messageCallback, ) { /*late*/ String clangOs; if (Platform.isLinux) { @@ -444,14 +449,19 @@ class ClangFormatChecker extends FormatChecker { /// Checks the format of Java files uing the Google Java format checker. class JavaFormatChecker extends FormatChecker { JavaFormatChecker({ - super.processManager, - required super.baseGitRef, - required super.repoDir, + ProcessManager processManager = const LocalProcessManager(), + required String baseGitRef, + required Directory repoDir, required Directory srcDir, - super.allFiles, - super.messageCallback, + bool allFiles = false, + MessageCallback? messageCallback, }) : super( + processManager: processManager, + baseGitRef: baseGitRef, + repoDir: repoDir, srcDir: srcDir, + allFiles: allFiles, + messageCallback: messageCallback, ) { googleJavaFormatJar = File( path.absolute( @@ -586,14 +596,19 @@ class JavaFormatChecker extends FormatChecker { /// Checks the format of any BUILD.gn files using the "gn format" command. class GnFormatChecker extends FormatChecker { GnFormatChecker({ - super.processManager, - required super.baseGitRef, + ProcessManager processManager = const LocalProcessManager(), + required String baseGitRef, required Directory repoDir, - required super.srcDir, - super.allFiles, - super.messageCallback, + required Directory srcDir, + bool allFiles = false, + MessageCallback? messageCallback, }) : super( + processManager: processManager, + baseGitRef: baseGitRef, repoDir: repoDir, + srcDir: srcDir, + allFiles: allFiles, + messageCallback: messageCallback, ) { gnBinary = File( path.join( @@ -672,14 +687,19 @@ class GnFormatChecker extends FormatChecker { /// Checks the format of any .py files using the "yapf" command. class PythonFormatChecker extends FormatChecker { PythonFormatChecker({ - super.processManager, - required super.baseGitRef, + ProcessManager processManager = const LocalProcessManager(), + required String baseGitRef, required Directory repoDir, - required super.srcDir, - super.allFiles, - super.messageCallback, + required Directory srcDir, + bool allFiles = false, + MessageCallback? messageCallback, }) : super( + processManager: processManager, + baseGitRef: baseGitRef, repoDir: repoDir, + srcDir: srcDir, + allFiles: allFiles, + messageCallback: messageCallback, ) { yapfBin = File(path.join( repoDir.absolute.path, @@ -767,13 +787,20 @@ class _GrepResult { /// Checks for trailing whitspace in Dart files. class WhitespaceFormatChecker extends FormatChecker { WhitespaceFormatChecker({ - super.processManager, - required super.baseGitRef, - required super.repoDir, - required super.srcDir, - super.allFiles, - super.messageCallback, - }); + ProcessManager processManager = const LocalProcessManager(), + required String baseGitRef, + required Directory repoDir, + required Directory srcDir, + bool allFiles = false, + MessageCallback? messageCallback, + }) : super( + processManager: processManager, + baseGitRef: baseGitRef, + repoDir: repoDir, + srcDir: srcDir, + allFiles: allFiles, + messageCallback: messageCallback, + ); @override Future checkFormatting() async { diff --git a/ci/pubspec.yaml b/ci/pubspec.yaml index 6b09e88641e9c..11583566998d5 100644 --- a/ci/pubspec.yaml +++ b/ci/pubspec.yaml @@ -5,7 +5,7 @@ name: ci_scripts publish_to: none environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: '>=2.12.0-0 <3.0.0' # Do not add any dependencies that require more than what is provided in # //third_party/pkg, //third_party/dart/pkg, or diff --git a/flutter_frontend_server/pubspec.yaml b/flutter_frontend_server/pubspec.yaml index 48ed1a4928a18..b492661d4804b 100644 --- a/flutter_frontend_server/pubspec.yaml +++ b/flutter_frontend_server/pubspec.yaml @@ -18,7 +18,7 @@ homepage: https://flutter.dev # relative to this directory into //third_party/dart environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: ">=2.12.0 <3.0.0" dependencies: args: any diff --git a/impeller/tessellator/dart/pubspec.yaml b/impeller/tessellator/dart/pubspec.yaml index fc17320855790..4f09e8272da5c 100644 --- a/impeller/tessellator/dart/pubspec.yaml +++ b/impeller/tessellator/dart/pubspec.yaml @@ -8,4 +8,4 @@ publish_to: none homepage: https://github.com/flutter/impeller/tree/main/tessellator/dart environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: '>=2.12.0 <3.0.0' diff --git a/lib/snapshot/pubspec.yaml b/lib/snapshot/pubspec.yaml index bb7cd30be46ca..f9aaabf880163 100644 --- a/lib/snapshot/pubspec.yaml +++ b/lib/snapshot/pubspec.yaml @@ -5,4 +5,4 @@ # This file is needed by Fuchsia's dart_library template. environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: '>=2.12.0 <3.0.0' diff --git a/lib/web_ui/pubspec.yaml b/lib/web_ui/pubspec.yaml index eb402787515dd..3f688e4af962a 100644 --- a/lib/web_ui/pubspec.yaml +++ b/lib/web_ui/pubspec.yaml @@ -3,7 +3,7 @@ publish_to: none # Keep the SDK version range in sync with pubspecs under web_sdk environment: - sdk: '>=2.19.0 <4.0.0' + sdk: ">=2.19.0 <3.0.0" dependencies: js: 0.6.4 diff --git a/shell/platform/fuchsia/dart-pkg/fuchsia/pubspec.yaml b/shell/platform/fuchsia/dart-pkg/fuchsia/pubspec.yaml index 16fe4cdd83d71..b6f4924b50621 100644 --- a/shell/platform/fuchsia/dart-pkg/fuchsia/pubspec.yaml +++ b/shell/platform/fuchsia/dart-pkg/fuchsia/pubspec.yaml @@ -3,4 +3,4 @@ # found in the LICENSE file. environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: '>=2.12.0 <3.0.0' diff --git a/shell/platform/fuchsia/dart-pkg/zircon/pubspec.yaml b/shell/platform/fuchsia/dart-pkg/zircon/pubspec.yaml index 121b528580c14..d82a3ccf9e8b4 100644 --- a/shell/platform/fuchsia/dart-pkg/zircon/pubspec.yaml +++ b/shell/platform/fuchsia/dart-pkg/zircon/pubspec.yaml @@ -5,7 +5,7 @@ name: zircon environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: '>=2.12.0 <3.0.0' # Uncomment block for local testing diff --git a/shell/platform/fuchsia/dart-pkg/zircon_ffi/pubspec.yaml b/shell/platform/fuchsia/dart-pkg/zircon_ffi/pubspec.yaml index 5e3507cef3c23..51113aa82fdd2 100644 --- a/shell/platform/fuchsia/dart-pkg/zircon_ffi/pubspec.yaml +++ b/shell/platform/fuchsia/dart-pkg/zircon_ffi/pubspec.yaml @@ -1,7 +1,7 @@ name: zircon_ffi environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: '>=2.12.0 <3.0.0' dependencies: ffi: ^1.0.0 diff --git a/shell/platform/fuchsia/dart_runner/embedder/pubspec.yaml b/shell/platform/fuchsia/dart_runner/embedder/pubspec.yaml index 0bda0be6f7c95..95d02521eaa7c 100644 --- a/shell/platform/fuchsia/dart_runner/embedder/pubspec.yaml +++ b/shell/platform/fuchsia/dart_runner/embedder/pubspec.yaml @@ -6,5 +6,5 @@ # template in BUILD.gn. environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: '>=2.12.0 <3.0.0' diff --git a/shell/platform/fuchsia/dart_runner/vmservice/pubspec.yaml b/shell/platform/fuchsia/dart_runner/vmservice/pubspec.yaml index 09da15ac00b35..d0e8360c33486 100644 --- a/shell/platform/fuchsia/dart_runner/vmservice/pubspec.yaml +++ b/shell/platform/fuchsia/dart_runner/vmservice/pubspec.yaml @@ -3,5 +3,5 @@ # found in the LICENSE file. environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: '>=2.12.0 <3.0.0' diff --git a/shell/platform/fuchsia/flutter/kernel/pubspec.yaml b/shell/platform/fuchsia/flutter/kernel/pubspec.yaml index 16fe4cdd83d71..b6f4924b50621 100644 --- a/shell/platform/fuchsia/flutter/kernel/pubspec.yaml +++ b/shell/platform/fuchsia/flutter/kernel/pubspec.yaml @@ -3,4 +3,4 @@ # found in the LICENSE file. environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: '>=2.12.0 <3.0.0' diff --git a/shell/platform/fuchsia/flutter/tests/integration/embedder/child-view/pubspec.yaml b/shell/platform/fuchsia/flutter/tests/integration/embedder/child-view/pubspec.yaml index fc1d582237cd2..a50988f1a4baf 100644 --- a/shell/platform/fuchsia/flutter/tests/integration/embedder/child-view/pubspec.yaml +++ b/shell/platform/fuchsia/flutter/tests/integration/embedder/child-view/pubspec.yaml @@ -5,4 +5,4 @@ name: child_view2 environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: '>=2.12.0 <3.0.0' diff --git a/shell/platform/fuchsia/flutter/tests/integration/embedder/parent-view/pubspec.yaml b/shell/platform/fuchsia/flutter/tests/integration/embedder/parent-view/pubspec.yaml index 201cf3fa56906..151abb7e2d131 100644 --- a/shell/platform/fuchsia/flutter/tests/integration/embedder/parent-view/pubspec.yaml +++ b/shell/platform/fuchsia/flutter/tests/integration/embedder/parent-view/pubspec.yaml @@ -5,4 +5,4 @@ name: parent-view2 environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: '>=2.18.0 <3.0.0' diff --git a/shell/platform/fuchsia/flutter/tests/integration/mouse-input/mouse-input-view/pubspec.yaml b/shell/platform/fuchsia/flutter/tests/integration/mouse-input/mouse-input-view/pubspec.yaml index c3196484ca75f..a557dbe433abd 100644 --- a/shell/platform/fuchsia/flutter/tests/integration/mouse-input/mouse-input-view/pubspec.yaml +++ b/shell/platform/fuchsia/flutter/tests/integration/mouse-input/mouse-input-view/pubspec.yaml @@ -5,4 +5,4 @@ name: mouse-input-view environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: '>=2.18.0 <3.0.0' diff --git a/shell/platform/fuchsia/flutter/tests/integration/text-input/text-input-view/pubspec.yaml b/shell/platform/fuchsia/flutter/tests/integration/text-input/text-input-view/pubspec.yaml index f15d93799943b..30c6e7096ef8c 100644 --- a/shell/platform/fuchsia/flutter/tests/integration/text-input/text-input-view/pubspec.yaml +++ b/shell/platform/fuchsia/flutter/tests/integration/text-input/text-input-view/pubspec.yaml @@ -5,4 +5,4 @@ name: text-input-view environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: '>=2.18.0 <3.0.0' diff --git a/shell/platform/fuchsia/flutter/tests/integration/touch-input/embedding-flutter-view/pubspec.yaml b/shell/platform/fuchsia/flutter/tests/integration/touch-input/embedding-flutter-view/pubspec.yaml index 5051384ec5bea..fcd78ccdc8d9a 100644 --- a/shell/platform/fuchsia/flutter/tests/integration/touch-input/embedding-flutter-view/pubspec.yaml +++ b/shell/platform/fuchsia/flutter/tests/integration/touch-input/embedding-flutter-view/pubspec.yaml @@ -5,4 +5,4 @@ name: embedding-flutter-view environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: '>=2.18.0 <3.0.0' diff --git a/shell/platform/fuchsia/flutter/tests/integration/touch-input/touch-input-view/pubspec.yaml b/shell/platform/fuchsia/flutter/tests/integration/touch-input/touch-input-view/pubspec.yaml index 3e8e25f294cbf..cc78c78f090eb 100644 --- a/shell/platform/fuchsia/flutter/tests/integration/touch-input/touch-input-view/pubspec.yaml +++ b/shell/platform/fuchsia/flutter/tests/integration/touch-input/touch-input-view/pubspec.yaml @@ -5,4 +5,4 @@ name: touch-input-view environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: '>=2.18.0 <3.0.0' diff --git a/shell/platform/fuchsia/runtime/dart/profiler_symbols/pubspec.yaml b/shell/platform/fuchsia/runtime/dart/profiler_symbols/pubspec.yaml index 519e6f49fd1a5..56bddf8c6277a 100644 --- a/shell/platform/fuchsia/runtime/dart/profiler_symbols/pubspec.yaml +++ b/shell/platform/fuchsia/runtime/dart/profiler_symbols/pubspec.yaml @@ -4,7 +4,7 @@ name: profiler_symbols environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: '>=2.12.0 <3.0.0' version: 0 description: Extracts a minimal symbols table for the Dart VM profiler author: Dart Team diff --git a/shell/vmservice/pubspec.yaml b/shell/vmservice/pubspec.yaml index d8061c2f61dbb..7c1f613b34059 100644 --- a/shell/vmservice/pubspec.yaml +++ b/shell/vmservice/pubspec.yaml @@ -5,4 +5,4 @@ name: vmservice_snapshot publish_to: none environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: '>=2.12.0 <3.0.0' diff --git a/sky/packages/sky_engine/pubspec.yaml b/sky/packages/sky_engine/pubspec.yaml index c613749d4bbc5..9d357357db336 100644 --- a/sky/packages/sky_engine/pubspec.yaml +++ b/sky/packages/sky_engine/pubspec.yaml @@ -5,4 +5,4 @@ description: Dart SDK extensions for dart:ui homepage: http://flutter.io # sky_engine requires sdk_ext support in the analyzer which was added in 1.11.x environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: ">=2.12.0-0 <3.0.0" diff --git a/testing/android_background_image/pubspec.yaml b/testing/android_background_image/pubspec.yaml index 82a37fd9f4831..361922d8fd21f 100644 --- a/testing/android_background_image/pubspec.yaml +++ b/testing/android_background_image/pubspec.yaml @@ -5,7 +5,7 @@ name: android_background_image publish_to: none environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: '>=2.12.0 <3.0.0' # Do not add any dependencies that require more than what is provided in # //third_party/dart/pkg, //third_party/dart/third_party/pkg, or diff --git a/testing/benchmark/pubspec.yaml b/testing/benchmark/pubspec.yaml index dc860ed38d7ca..9aa5acda38916 100644 --- a/testing/benchmark/pubspec.yaml +++ b/testing/benchmark/pubspec.yaml @@ -5,7 +5,7 @@ name: flutter_engine_benchmark publish_to: none environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: '>=2.12.0-0 <3.0.0' # Do not add any dependencies that require more than what is provided in # //third_party/pkg, //third_party/dart/pkg, or diff --git a/testing/dart/pubspec.yaml b/testing/dart/pubspec.yaml index c2f4df9744cde..cebfd589104ab 100644 --- a/testing/dart/pubspec.yaml +++ b/testing/dart/pubspec.yaml @@ -14,7 +14,7 @@ publish_to: none # relative to this directory into //third_party/dart environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: '>=2.17.0 <3.0.0' dependencies: litetest: any diff --git a/testing/litetest/pubspec.yaml b/testing/litetest/pubspec.yaml index 392ce6411fcd7..905a4999a9d30 100644 --- a/testing/litetest/pubspec.yaml +++ b/testing/litetest/pubspec.yaml @@ -14,7 +14,7 @@ publish_to: none # relative to this directory into //third_party/dart environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: '>=2.12.0 <3.0.0' dependencies: async_helper: any diff --git a/testing/scenario_app/pubspec.yaml b/testing/scenario_app/pubspec.yaml index c90a33d7f3204..696d3871584ad 100644 --- a/testing/scenario_app/pubspec.yaml +++ b/testing/scenario_app/pubspec.yaml @@ -5,7 +5,7 @@ name: scenario_app publish_to: none environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: '>=2.17.0 <3.0.0' # Do not add any dependencies that require more than what is provided in # //third_party/dart/pkg, //third_party/dart/third_party/pkg, or diff --git a/testing/skia_gold_client/pubspec.yaml b/testing/skia_gold_client/pubspec.yaml index 9f39ae9b2806e..bd6d3082d7c2d 100644 --- a/testing/skia_gold_client/pubspec.yaml +++ b/testing/skia_gold_client/pubspec.yaml @@ -5,7 +5,7 @@ name: skia_gold_client publish_to: none environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: '>=2.12.0 <3.0.0' # Do not add any dependencies that require more than what is provided in # //third_party/dart/pkg, //third_party/dart/third_party/pkg, or diff --git a/testing/smoke_test_failure/pubspec.yaml b/testing/smoke_test_failure/pubspec.yaml index df2f11055e778..c51c8cecbe7e8 100644 --- a/testing/smoke_test_failure/pubspec.yaml +++ b/testing/smoke_test_failure/pubspec.yaml @@ -5,7 +5,7 @@ name: smoke_test_failure publish_to: none environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: '>=2.12.0 <3.0.0' # Do not add any dependencies that require more than what is provided in # //third_party/dart/pkg or //third_party/dart/third_party/pkg. diff --git a/testing/symbols/pubspec.yaml b/testing/symbols/pubspec.yaml index ab9d4b49a8d67..6f78767c10912 100644 --- a/testing/symbols/pubspec.yaml +++ b/testing/symbols/pubspec.yaml @@ -5,7 +5,7 @@ name: verify_exported publish_to: none environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: '>=2.12.0 <3.0.0' # Do not add any dependencies that require more than what is provided in # //third_party/pkg, //third_party/dart/pkg, or diff --git a/third_party/web_locale_keymap/pubspec.yaml b/third_party/web_locale_keymap/pubspec.yaml index 2da80a46c5108..c9c7518d01ed1 100644 --- a/third_party/web_locale_keymap/pubspec.yaml +++ b/third_party/web_locale_keymap/pubspec.yaml @@ -3,7 +3,7 @@ name: web_locale_keymap publish_to: none environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: ">=2.12.0 <3.0.0" dev_dependencies: test: ^1.21.7 diff --git a/third_party/web_test_fonts/pubspec.yaml b/third_party/web_test_fonts/pubspec.yaml index 6c2af49caa236..427accd1f6a67 100644 --- a/third_party/web_test_fonts/pubspec.yaml +++ b/third_party/web_test_fonts/pubspec.yaml @@ -3,7 +3,7 @@ name: web_test_fonts publish_to: none environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: ">=2.12.0-0 <3.0.0" dev_dependencies: args: any diff --git a/third_party/web_unicode/pubspec.yaml b/third_party/web_unicode/pubspec.yaml index 99b6d98c56688..8d9281ee95302 100644 --- a/third_party/web_unicode/pubspec.yaml +++ b/third_party/web_unicode/pubspec.yaml @@ -3,7 +3,7 @@ name: web_unicode publish_to: none environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: ">=2.12.0-0 <3.0.0" dev_dependencies: args: any diff --git a/tools/android_lint/pubspec.yaml b/tools/android_lint/pubspec.yaml index 4c62944ea4617..81eb92b208841 100644 --- a/tools/android_lint/pubspec.yaml +++ b/tools/android_lint/pubspec.yaml @@ -4,7 +4,7 @@ name: android_lint environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: '>=2.12.0 <3.0.0' # Do not add any dependencies that require more than what is provided in # //third_party.pkg, //third_party/dart/pkg, or diff --git a/tools/api_check/pubspec.yaml b/tools/api_check/pubspec.yaml index 1457897656329..60a1493a0247a 100644 --- a/tools/api_check/pubspec.yaml +++ b/tools/api_check/pubspec.yaml @@ -14,7 +14,7 @@ publish_to: none # relative to this directory into //third_party/dart environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: '>=2.12.0 <3.0.0' # Do not add any dependencies that require more than what is provided in # //third_party/pkg, //third_party/dart/pkg, or diff --git a/tools/clang_tidy/pubspec.yaml b/tools/clang_tidy/pubspec.yaml index 46befe2929db6..7e89c33285ceb 100644 --- a/tools/clang_tidy/pubspec.yaml +++ b/tools/clang_tidy/pubspec.yaml @@ -5,7 +5,7 @@ name: clang_tidy publish_to: none environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: '>=2.12.0-0 <3.0.0' # Do not add any dependencies that require more than what is provided in # //third_party/pkg, //third_party/dart/pkg, or diff --git a/tools/const_finder/pubspec.yaml b/tools/const_finder/pubspec.yaml index b174754fff0df..9e4804c8aa400 100644 --- a/tools/const_finder/pubspec.yaml +++ b/tools/const_finder/pubspec.yaml @@ -6,7 +6,7 @@ name: const_finder publish_to: none environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: ">=2.17.0 <4.0.0" # Do not add any dependencies that require more than what is provided in # //third_party/dart/pkg or //third_party/dart/third_party/pkg. diff --git a/tools/gen_web_locale_keymap/pubspec.yaml b/tools/gen_web_locale_keymap/pubspec.yaml index e7987d6338aec..a1c1f055ccd1b 100644 --- a/tools/gen_web_locale_keymap/pubspec.yaml +++ b/tools/gen_web_locale_keymap/pubspec.yaml @@ -2,7 +2,7 @@ name: gen_web_keyboard_keymap description: Generates keyboard layouts for Web from external sources. environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: ">=2.18.0-0 <3.0.0" dependencies: args: any diff --git a/tools/githooks/pubspec.yaml b/tools/githooks/pubspec.yaml index 6b5bb5c2340a7..891f45852b1b8 100644 --- a/tools/githooks/pubspec.yaml +++ b/tools/githooks/pubspec.yaml @@ -5,7 +5,7 @@ name: githooks publish_to: none environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: '>=2.12.0-0.0.dev <3.0.0' # Do not add any dependencies that require more than what is provided in # //third_party.pkg, //third_party/dart/pkg, or diff --git a/tools/licenses/pubspec.yaml b/tools/licenses/pubspec.yaml index 85f69a2bad58b..71e93ce5ed377 100644 --- a/tools/licenses/pubspec.yaml +++ b/tools/licenses/pubspec.yaml @@ -5,7 +5,7 @@ name: licenses publish_to: none environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: '>=2.18.0 <3.0.0' # Do not add any dependencies that require more than what is provided # in //third_party.pkg, //third_party/dart/pkg, or diff --git a/tools/path_ops/dart/pubspec.yaml b/tools/path_ops/dart/pubspec.yaml index db4d16542f5f1..2db190830779d 100644 --- a/tools/path_ops/dart/pubspec.yaml +++ b/tools/path_ops/dart/pubspec.yaml @@ -8,7 +8,7 @@ publish_to: none homepage: https://github.com/flutter/engine/tree/main/tools/path_ops environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: '>=2.17.0 <3.0.0' dev_dependencies: litetest: any diff --git a/web_sdk/pubspec.yaml b/web_sdk/pubspec.yaml index d452fbe0a4db6..c97581317f1ef 100644 --- a/web_sdk/pubspec.yaml +++ b/web_sdk/pubspec.yaml @@ -2,7 +2,7 @@ name: web_sdk_tests # Keep the SDK version range in sync with lib/web_ui/pubspec.yaml environment: - sdk: '>=2.19.0 <4.0.0' + sdk: ">=2.19.0 <3.0.0" dependencies: args: 2.3.1 diff --git a/web_sdk/web_engine_tester/pubspec.yaml b/web_sdk/web_engine_tester/pubspec.yaml index 06ab52b319740..820ad1629eb7c 100644 --- a/web_sdk/web_engine_tester/pubspec.yaml +++ b/web_sdk/web_engine_tester/pubspec.yaml @@ -2,7 +2,7 @@ name: web_engine_tester # Keep the SDK version range in sync with lib/web_ui/pubspec.yaml environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: ">=2.12.0-0 <3.0.0" dependencies: js: 0.6.4 diff --git a/web_sdk/web_test_utils/pubspec.yaml b/web_sdk/web_test_utils/pubspec.yaml index c9b8530271a9a..03aac1e7e629a 100644 --- a/web_sdk/web_test_utils/pubspec.yaml +++ b/web_sdk/web_test_utils/pubspec.yaml @@ -2,7 +2,7 @@ name: web_test_utils # Keep the SDK version range in sync with lib/web_ui/pubspec.yaml environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: ">=2.12.0-0 <3.0.0" dependencies: collection: 1.15.0