Skip to content

Commit

Permalink
Add missing sdk constriant in pubspec.yaml files. (flutter#23124)
Browse files Browse the repository at this point in the history
* Add missing sdk constriants in pubspec.yaml files.

* Update tools/android_lint/pubspec.yaml

Co-authored-by: Zachary Anderson <[email protected]>
  • Loading branch information
a-siva and zanderso authored Dec 17, 2020
1 parent 51c9ae9 commit 76310c4
Show file tree
Hide file tree
Showing 11 changed files with 34 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/snapshot/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
3 changes: 3 additions & 0 deletions shell/platform/fuchsia/dart-pkg/fuchsia/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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'
3 changes: 3 additions & 0 deletions shell/platform/fuchsia/dart-pkg/zircon/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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'
4 changes: 4 additions & 0 deletions shell/platform/fuchsia/dart_runner/embedder/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

4 changes: 4 additions & 0 deletions shell/platform/fuchsia/dart_runner/vmservice/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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'

6 changes: 6 additions & 0 deletions shell/platform/fuchsia/flutter/kernel/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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'
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>
2 changes: 2 additions & 0 deletions testing/smoke_test_failure/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions testing/symbols/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: verify_exported
environment:
sdk: '>=2.11.0 <3.0.0'
dependencies:
path: 1.6.2
collection: 1.14.11
3 changes: 3 additions & 0 deletions tools/android_lint/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions web_sdk/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: web_sdk_tests
author: Flutter Authors <[email protected]>
environment:
sdk: '>=2.11.0 <3.0.0'

dev_dependencies:
analyzer: ^0.40.6
Expand Down

0 comments on commit 76310c4

Please sign in to comment.