From 76310c4264df02dd773156f7d346b5e7462f2ed4 Mon Sep 17 00:00:00 2001 From: Siva Date: Thu, 17 Dec 2020 09:45:26 -0800 Subject: [PATCH] Add missing sdk constriant in pubspec.yaml files. (#23124) * Add missing sdk constriants in pubspec.yaml files. * Update tools/android_lint/pubspec.yaml Co-authored-by: Zachary Anderson --- lib/snapshot/pubspec.yaml | 3 +++ shell/platform/fuchsia/dart-pkg/fuchsia/pubspec.yaml | 3 +++ shell/platform/fuchsia/dart-pkg/zircon/pubspec.yaml | 3 +++ shell/platform/fuchsia/dart_runner/embedder/pubspec.yaml | 4 ++++ shell/platform/fuchsia/dart_runner/vmservice/pubspec.yaml | 4 ++++ shell/platform/fuchsia/flutter/kernel/pubspec.yaml | 6 ++++++ .../fuchsia/runtime/dart/profiler_symbols/pubspec.yaml | 2 ++ testing/smoke_test_failure/pubspec.yaml | 2 ++ testing/symbols/pubspec.yaml | 2 ++ tools/android_lint/pubspec.yaml | 3 +++ web_sdk/pubspec.yaml | 2 ++ 11 files changed, 34 insertions(+) diff --git a/lib/snapshot/pubspec.yaml b/lib/snapshot/pubspec.yaml index 54585c8ca..5e4d2c6a0 100644 --- a/lib/snapshot/pubspec.yaml +++ b/lib/snapshot/pubspec.yaml @@ -3,3 +3,6 @@ # found in the LICENSE file. # This file is needed by Fuchsia's dart_library template. + +environment: + sdk: '>=2.11.0 <3.0.0' diff --git a/shell/platform/fuchsia/dart-pkg/fuchsia/pubspec.yaml b/shell/platform/fuchsia/dart-pkg/fuchsia/pubspec.yaml index 5e8ae01a4..4fb6995fb 100644 --- a/shell/platform/fuchsia/dart-pkg/fuchsia/pubspec.yaml +++ b/shell/platform/fuchsia/dart-pkg/fuchsia/pubspec.yaml @@ -1,3 +1,6 @@ # Copyright 2013 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. + +environment: + sdk: '>=2.11.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 5e8ae01a4..4fb6995fb 100644 --- a/shell/platform/fuchsia/dart-pkg/zircon/pubspec.yaml +++ b/shell/platform/fuchsia/dart-pkg/zircon/pubspec.yaml @@ -1,3 +1,6 @@ # Copyright 2013 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. + +environment: + sdk: '>=2.11.0 <3.0.0' diff --git a/shell/platform/fuchsia/dart_runner/embedder/pubspec.yaml b/shell/platform/fuchsia/dart_runner/embedder/pubspec.yaml index eaea68b26..fc92b573a 100644 --- a/shell/platform/fuchsia/dart_runner/embedder/pubspec.yaml +++ b/shell/platform/fuchsia/dart_runner/embedder/pubspec.yaml @@ -4,3 +4,7 @@ # The presence of this file is necessary in order to use the dart_library # template in BUILD.gn. + +environment: + sdk: '>=2.11.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 5e8ae01a4..4c6b70671 100644 --- a/shell/platform/fuchsia/dart_runner/vmservice/pubspec.yaml +++ b/shell/platform/fuchsia/dart_runner/vmservice/pubspec.yaml @@ -1,3 +1,7 @@ # Copyright 2013 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. + +environment: + sdk: '>=2.11.0 <3.0.0' + diff --git a/shell/platform/fuchsia/flutter/kernel/pubspec.yaml b/shell/platform/fuchsia/flutter/kernel/pubspec.yaml index e69de29bb..4fb6995fb 100644 --- a/shell/platform/fuchsia/flutter/kernel/pubspec.yaml +++ b/shell/platform/fuchsia/flutter/kernel/pubspec.yaml @@ -0,0 +1,6 @@ +# Copyright 2013 The Flutter Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +environment: + sdk: '>=2.11.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 8939a55d1..3799c6c94 100644 --- a/shell/platform/fuchsia/runtime/dart/profiler_symbols/pubspec.yaml +++ b/shell/platform/fuchsia/runtime/dart/profiler_symbols/pubspec.yaml @@ -3,6 +3,8 @@ # found in the LICENSE file. name: profiler_symbols +environment: + sdk: '>=2.11.0 <3.0.0' version: 0 description: Extracts a minimal symbols table for the Dart VM profiler author: Dart Team diff --git a/testing/smoke_test_failure/pubspec.yaml b/testing/smoke_test_failure/pubspec.yaml index 9eb330ef6..52402200f 100644 --- a/testing/smoke_test_failure/pubspec.yaml +++ b/testing/smoke_test_failure/pubspec.yaml @@ -1,4 +1,6 @@ name: smoke_test_failure +environment: + sdk: '>=2.11.0 <3.0.0' dependencies: test: 1.3.0 path: 1.6.2 diff --git a/testing/symbols/pubspec.yaml b/testing/symbols/pubspec.yaml index a45a4a0b7..eb59cfa98 100644 --- a/testing/symbols/pubspec.yaml +++ b/testing/symbols/pubspec.yaml @@ -1,4 +1,6 @@ name: verify_exported +environment: + sdk: '>=2.11.0 <3.0.0' dependencies: path: 1.6.2 collection: 1.14.11 diff --git a/tools/android_lint/pubspec.yaml b/tools/android_lint/pubspec.yaml index b27131c37..1fb8a7544 100644 --- a/tools/android_lint/pubspec.yaml +++ b/tools/android_lint/pubspec.yaml @@ -1,4 +1,7 @@ name: android_lint +environment: + sdk: '>=2.12.0-0.0.dev <3.0.0' + dependencies: args: 1.5.0 path: ^1.6.2 diff --git a/web_sdk/pubspec.yaml b/web_sdk/pubspec.yaml index f25f7ccb2..ad2b335e8 100644 --- a/web_sdk/pubspec.yaml +++ b/web_sdk/pubspec.yaml @@ -1,5 +1,7 @@ name: web_sdk_tests author: Flutter Authors +environment: + sdk: '>=2.11.0 <3.0.0' dev_dependencies: analyzer: ^0.40.6 -- GitLab