Roll engine and fix pubspecs that do not have a Dart SDK constraint (#70078)
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// This file uses Dart 2.12 semantics. This is needed as we can't upgrade
|
||||
// the SDK constraint to `>=2.12.0-0` before the deps are ready.
|
||||
// @dart=2.12
|
||||
|
||||
import 'dart:convert';
|
||||
import 'dart:io';
|
||||
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
name: metrics_center
|
||||
|
||||
environment:
|
||||
sdk: '>=2.10.0 <3.0.0'
|
||||
|
||||
dependencies:
|
||||
args: 1.6.0
|
||||
crypto: 2.1.5
|
||||
|
||||
@@ -491,6 +491,8 @@ class SampleChecker {
|
||||
final File analysisOptions = File(path.join(directory.path, 'analysis_options.yaml'))..createSync(recursive: true);
|
||||
pubSpec.writeAsStringSync('''
|
||||
name: analyze_sample_code
|
||||
environment:
|
||||
sdk: '>=2.10.0 <3.0.0'
|
||||
dependencies:
|
||||
flutter:
|
||||
sdk: flutter
|
||||
|
||||
@@ -56,6 +56,8 @@ Future<void> main(List<String> arguments) async {
|
||||
buf.writeln('homepage: https://flutter.dev');
|
||||
// TODO(dnfield): Re-factor for proper versioning, https://github.com/flutter/flutter/issues/55409
|
||||
buf.writeln('version: 0.0.0');
|
||||
buf.writeln('environment:');
|
||||
buf.writeln(" sdk: '>=2.10.0 <3.0.0'");
|
||||
buf.writeln('dependencies:');
|
||||
for (final String package in findPackageNames()) {
|
||||
buf.writeln(' $package:');
|
||||
|
||||
Reference in New Issue
Block a user