From b4304dadc58264f7cf1d7555040f96920021ff18 Mon Sep 17 00:00:00 2001 From: Jason Simmons Date: Fri, 9 Dec 2022 11:38:20 -0800 Subject: [PATCH] Update the Dart language version in the pubspec generated by the dartdoc script (#116789) --- dev/bots/docs.sh | 2 +- dev/tools/dartdoc.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/bots/docs.sh b/dev/bots/docs.sh index b68a0636900b..aee4477510c8 100755 --- a/dev/bots/docs.sh +++ b/dev/bots/docs.sh @@ -59,7 +59,7 @@ function create_docset() { dashing_pid=$! wait $dashing_pid && \ cp ./doc/flutter/static-assets/favicon.png ./flutter.docset/icon.png && \ - "$DART" --no-sound-null-safety --disable-dart-dev --enable-asserts ./dashing_postprocess.dart && \ + "$DART" --disable-dart-dev --enable-asserts ./dashing_postprocess.dart && \ tar cf flutter.docset.tar.gz --use-compress-program="gzip --best" flutter.docset if [[ $? -ne 0 ]]; then >&2 echo "Dashing docset generation failed" diff --git a/dev/tools/dartdoc.dart b/dev/tools/dartdoc.dart index f577cadd9465..951210c43d6d 100644 --- a/dev/tools/dartdoc.dart +++ b/dev/tools/dartdoc.dart @@ -59,7 +59,7 @@ Future main(List arguments) async { buf.writeln('homepage: https://flutter.dev'); buf.writeln('version: 0.0.0'); buf.writeln('environment:'); - buf.writeln(" sdk: '>=2.10.0 <4.0.0'"); + buf.writeln(" sdk: '>=2.12.0 <4.0.0'"); buf.writeln('dependencies:'); for (final String package in findPackageNames()) { buf.writeln(' $package:');