update packages and unpin build (#32066)
This commit is contained in:
@@ -242,8 +242,8 @@ class BuildScriptGenerator {
|
||||
}
|
||||
|
||||
/// An expression creating a [BuilderOptions] from a json string.
|
||||
Expression _constructBuilderOptions(BuilderOptions options) {
|
||||
return refer('BuilderOptions', 'package:build/build.dart').newInstance(<Expression>[literalMap(options.config)]);
|
||||
Expression _constructBuilderOptions(Map<String, dynamic> options) {
|
||||
return refer('BuilderOptions', 'package:build/build.dart').newInstance(<Expression>[literalMap(options)]);
|
||||
}
|
||||
|
||||
/// Put [builders] into an order such that any builder which specifies
|
||||
|
||||
@@ -23,7 +23,6 @@ import '../runner/flutter_command.dart';
|
||||
const Map<String, String> _kManuallyPinnedDependencies = <String, String>{
|
||||
// Add pinned packages here.
|
||||
'flutter_gallery_assets': '0.1.8', // See //examples/flutter_gallery/pubspec.yaml
|
||||
'build_modules': '1.0.9', // TODO(jonahwilliams): migrate https://cirrus-ci.com/task/5747941259083776
|
||||
};
|
||||
|
||||
class UpdatePackagesCommand extends FlutterCommand {
|
||||
@@ -76,6 +75,9 @@ class UpdatePackagesCommand extends FlutterCommand {
|
||||
);
|
||||
}
|
||||
|
||||
@override
|
||||
bool get isExperimental => true;
|
||||
|
||||
@override
|
||||
final String name = 'update-packages';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user