Roll Dart SDK to 2.0.0-dev.16.0, along with associated package updates (#13857)
Rolling the Dart SDK to 2.0, with associated package updates. https://groups.google.com/forum/#!topic/flutter-dev/E22RdKAYjs8
This commit is contained in:
parent
5b02a5ec58
commit
ab874da7be
@ -22,7 +22,6 @@ analyzer:
|
||||
language:
|
||||
enableStrictCallChecks: true
|
||||
enableSuperMixins: true
|
||||
enableAssertInitializer: true
|
||||
strong-mode:
|
||||
implicit-dynamic: false
|
||||
errors:
|
||||
|
@ -130,7 +130,6 @@ if [ ! -d "$FLUTTER_ROOT/.git" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
FLUTTER_TOOL_ARGS="--assert-initializer $FLUTTER_TOOL_ARGS"
|
||||
# To debug the tool, you can uncomment the following lines to enable checked mode and set an observatory port:
|
||||
# FLUTTER_TOOL_ARGS="--checked $FLUTTER_TOOL_ARGS"
|
||||
# FLUTTER_TOOL_ARGS="$FLUTTER_TOOL_ARGS --observe=65432"
|
||||
|
@ -40,7 +40,6 @@ IF NOT EXIST "%flutter_root%\.git" (
|
||||
REM Ensure that bin/cache exists.
|
||||
IF NOT EXIST "%cache_dir%" MKDIR "%cache_dir%"
|
||||
|
||||
SET FLUTTER_TOOL_ARGS=--assert-initializer %FLUTTER_TOOL_ARGS%
|
||||
REM To debug the tool, you can uncomment the following lines to enable checked mode and set an observatory port:
|
||||
REM SET FLUTTER_TOOL_ARGS="--checked %FLUTTER_TOOL_ARGS%"
|
||||
REM SET FLUTTER_TOOL_ARGS="%FLUTTER_TOOL_ARGS% --observe=65432"
|
||||
|
@ -1 +1 @@
|
||||
1.25.0-dev.11.0
|
||||
2.0.0-dev.16.0
|
||||
|
@ -5,7 +5,7 @@ dependencies:
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
|
||||
args: 0.13.7 # TRANSITIVE DEPENDENCY
|
||||
args: 1.2.0 # TRANSITIVE DEPENDENCY
|
||||
async: 1.13.3 # TRANSITIVE DEPENDENCY
|
||||
barback: 0.15.2+14 # TRANSITIVE DEPENDENCY
|
||||
boolean_selector: 1.0.2 # TRANSITIVE DEPENDENCY
|
||||
|
@ -17,7 +17,7 @@ dev_dependencies:
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
|
||||
args: 0.13.7 # TRANSITIVE DEPENDENCY
|
||||
args: 1.2.0 # TRANSITIVE DEPENDENCY
|
||||
async: 1.13.3 # TRANSITIVE DEPENDENCY
|
||||
barback: 0.15.2+14 # TRANSITIVE DEPENDENCY
|
||||
boolean_selector: 1.0.2 # TRANSITIVE DEPENDENCY
|
||||
|
@ -9,7 +9,7 @@ dependencies:
|
||||
stocks:
|
||||
path: ../../../examples/stocks
|
||||
|
||||
args: 0.13.7 # TRANSITIVE DEPENDENCY
|
||||
args: 1.2.0 # TRANSITIVE DEPENDENCY
|
||||
async: 1.13.3 # TRANSITIVE DEPENDENCY
|
||||
barback: 0.15.2+14 # TRANSITIVE DEPENDENCY
|
||||
boolean_selector: 1.0.2 # TRANSITIVE DEPENDENCY
|
||||
|
@ -3,7 +3,7 @@ description: Scripts which run on bots.
|
||||
|
||||
dependencies:
|
||||
path: 1.5.1
|
||||
args: 0.13.7
|
||||
args: 1.2.0
|
||||
process: 2.0.7
|
||||
|
||||
dev_dependencies:
|
||||
|
@ -210,7 +210,7 @@ Future<Null> _pubRunTest(
|
||||
final List<String> args = <String>['run', 'test', '-j1', '-rexpanded'];
|
||||
if (testPath != null)
|
||||
args.add(testPath);
|
||||
final Map<String, String> pubEnvironment = <String, String>{'DART_VM_OPTIONS': '--assert-initializer'};
|
||||
final Map<String, String> pubEnvironment = <String, String>{};
|
||||
if (new Directory(pubCache).existsSync()) {
|
||||
pubEnvironment['PUB_CACHE'] = pubCache;
|
||||
}
|
||||
|
@ -8,7 +8,7 @@ environment:
|
||||
sdk: '>=1.12.0 <2.0.0'
|
||||
|
||||
dependencies:
|
||||
args: 0.13.7
|
||||
args: 1.2.0
|
||||
file: 2.3.5
|
||||
image: 1.1.29
|
||||
meta: 1.1.1
|
||||
|
@ -7,7 +7,7 @@ dependencies:
|
||||
flutter_driver:
|
||||
sdk: flutter
|
||||
|
||||
args: 0.13.7 # TRANSITIVE DEPENDENCY
|
||||
args: 1.2.0 # TRANSITIVE DEPENDENCY
|
||||
async: 1.13.3 # TRANSITIVE DEPENDENCY
|
||||
barback: 0.15.2+14 # TRANSITIVE DEPENDENCY
|
||||
boolean_selector: 1.0.2 # TRANSITIVE DEPENDENCY
|
||||
|
@ -7,7 +7,7 @@ dependencies:
|
||||
flutter_driver:
|
||||
sdk: flutter
|
||||
|
||||
args: 0.13.7 # TRANSITIVE DEPENDENCY
|
||||
args: 1.2.0 # TRANSITIVE DEPENDENCY
|
||||
async: 1.13.3 # TRANSITIVE DEPENDENCY
|
||||
barback: 0.15.2+14 # TRANSITIVE DEPENDENCY
|
||||
boolean_selector: 1.0.2 # TRANSITIVE DEPENDENCY
|
||||
|
@ -7,7 +7,7 @@ dependencies:
|
||||
flutter_driver:
|
||||
sdk: flutter
|
||||
|
||||
args: 0.13.7 # TRANSITIVE DEPENDENCY
|
||||
args: 1.2.0 # TRANSITIVE DEPENDENCY
|
||||
async: 1.13.3 # TRANSITIVE DEPENDENCY
|
||||
barback: 0.15.2+14 # TRANSITIVE DEPENDENCY
|
||||
boolean_selector: 1.0.2 # TRANSITIVE DEPENDENCY
|
||||
|
@ -7,7 +7,7 @@ dependencies:
|
||||
flutter_driver:
|
||||
sdk: flutter
|
||||
|
||||
args: 0.13.7 # TRANSITIVE DEPENDENCY
|
||||
args: 1.2.0 # TRANSITIVE DEPENDENCY
|
||||
async: 1.13.3 # TRANSITIVE DEPENDENCY
|
||||
barback: 0.15.2+14 # TRANSITIVE DEPENDENCY
|
||||
boolean_selector: 1.0.2 # TRANSITIVE DEPENDENCY
|
||||
|
@ -14,7 +14,7 @@ dev_dependencies:
|
||||
test: 0.12.26
|
||||
|
||||
archive: 1.0.33 # TRANSITIVE DEPENDENCY
|
||||
args: 0.13.7 # TRANSITIVE DEPENDENCY
|
||||
args: 1.2.0 # TRANSITIVE DEPENDENCY
|
||||
async: 1.13.3 # TRANSITIVE DEPENDENCY
|
||||
barback: 0.15.2+14 # TRANSITIVE DEPENDENCY
|
||||
boolean_selector: 1.0.2 # TRANSITIVE DEPENDENCY
|
||||
|
@ -8,7 +8,7 @@ dev_dependencies:
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
|
||||
args: 0.13.7 # TRANSITIVE DEPENDENCY
|
||||
args: 1.2.0 # TRANSITIVE DEPENDENCY
|
||||
async: 1.13.3 # TRANSITIVE DEPENDENCY
|
||||
barback: 0.15.2+14 # TRANSITIVE DEPENDENCY
|
||||
boolean_selector: 1.0.2 # TRANSITIVE DEPENDENCY
|
||||
|
@ -3,7 +3,7 @@ description: Various repository development tools for flutter.
|
||||
|
||||
dependencies:
|
||||
archive: 1.0.33
|
||||
args: 0.13.7
|
||||
args: 1.2.0
|
||||
http: 0.11.3+14
|
||||
intl: 0.15.2
|
||||
meta: 1.1.1
|
||||
|
@ -8,7 +8,7 @@ environment:
|
||||
sdk: '>=1.20.1 <2.0.0'
|
||||
|
||||
dependencies:
|
||||
args: 0.13.7
|
||||
args: 1.2.0
|
||||
vector_math: 2.0.5
|
||||
xml: 2.6.0
|
||||
|
||||
|
@ -11,7 +11,7 @@ dev_dependencies:
|
||||
flutter_driver:
|
||||
sdk: flutter
|
||||
|
||||
args: 0.13.7 # TRANSITIVE DEPENDENCY
|
||||
args: 1.2.0 # TRANSITIVE DEPENDENCY
|
||||
async: 1.13.3 # TRANSITIVE DEPENDENCY
|
||||
barback: 0.15.2+14 # TRANSITIVE DEPENDENCY
|
||||
boolean_selector: 1.0.2 # TRANSITIVE DEPENDENCY
|
||||
|
@ -23,7 +23,7 @@ dev_dependencies:
|
||||
flutter_driver:
|
||||
sdk: flutter
|
||||
|
||||
args: 0.13.7 # TRANSITIVE DEPENDENCY
|
||||
args: 1.2.0 # TRANSITIVE DEPENDENCY
|
||||
async: 1.13.3 # TRANSITIVE DEPENDENCY
|
||||
barback: 0.15.2+14 # TRANSITIVE DEPENDENCY
|
||||
boolean_selector: 1.0.2 # TRANSITIVE DEPENDENCY
|
||||
|
@ -5,7 +5,7 @@ dependencies:
|
||||
flutter:
|
||||
sdk: flutter
|
||||
|
||||
args: 0.13.7 # TRANSITIVE DEPENDENCY
|
||||
args: 1.2.0 # TRANSITIVE DEPENDENCY
|
||||
async: 1.13.3 # TRANSITIVE DEPENDENCY
|
||||
barback: 0.15.2+14 # TRANSITIVE DEPENDENCY
|
||||
boolean_selector: 1.0.2 # TRANSITIVE DEPENDENCY
|
||||
|
@ -8,7 +8,7 @@ dev_dependencies:
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
|
||||
args: 0.13.7 # TRANSITIVE DEPENDENCY
|
||||
args: 1.2.0 # TRANSITIVE DEPENDENCY
|
||||
async: 1.13.3 # TRANSITIVE DEPENDENCY
|
||||
barback: 0.15.2+14 # TRANSITIVE DEPENDENCY
|
||||
boolean_selector: 1.0.2 # TRANSITIVE DEPENDENCY
|
||||
|
@ -7,7 +7,7 @@ dev_dependencies:
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
|
||||
args: 0.13.7 # TRANSITIVE DEPENDENCY
|
||||
args: 1.2.0 # TRANSITIVE DEPENDENCY
|
||||
async: 1.13.3 # TRANSITIVE DEPENDENCY
|
||||
barback: 0.15.2+14 # TRANSITIVE DEPENDENCY
|
||||
boolean_selector: 1.0.2 # TRANSITIVE DEPENDENCY
|
||||
|
@ -10,7 +10,7 @@ dev_dependencies:
|
||||
flutter_driver:
|
||||
sdk: flutter
|
||||
|
||||
args: 0.13.7 # TRANSITIVE DEPENDENCY
|
||||
args: 1.2.0 # TRANSITIVE DEPENDENCY
|
||||
async: 1.13.3 # TRANSITIVE DEPENDENCY
|
||||
barback: 0.15.2+14 # TRANSITIVE DEPENDENCY
|
||||
boolean_selector: 1.0.2 # TRANSITIVE DEPENDENCY
|
||||
|
@ -10,7 +10,7 @@ dev_dependencies:
|
||||
flutter_driver:
|
||||
sdk: flutter
|
||||
|
||||
args: 0.13.7 # TRANSITIVE DEPENDENCY
|
||||
args: 1.2.0 # TRANSITIVE DEPENDENCY
|
||||
async: 1.13.3 # TRANSITIVE DEPENDENCY
|
||||
barback: 0.15.2+14 # TRANSITIVE DEPENDENCY
|
||||
boolean_selector: 1.0.2 # TRANSITIVE DEPENDENCY
|
||||
|
@ -4,7 +4,7 @@ dependencies:
|
||||
flutter:
|
||||
sdk: flutter
|
||||
|
||||
args: 0.13.7 # TRANSITIVE DEPENDENCY
|
||||
args: 1.2.0 # TRANSITIVE DEPENDENCY
|
||||
async: 1.13.3 # TRANSITIVE DEPENDENCY
|
||||
barback: 0.15.2+14 # TRANSITIVE DEPENDENCY
|
||||
boolean_selector: 1.0.2 # TRANSITIVE DEPENDENCY
|
||||
|
@ -15,7 +15,7 @@ dev_dependencies:
|
||||
flutter_driver:
|
||||
sdk: flutter
|
||||
|
||||
args: 0.13.7 # TRANSITIVE DEPENDENCY
|
||||
args: 1.2.0 # TRANSITIVE DEPENDENCY
|
||||
async: 1.13.3 # TRANSITIVE DEPENDENCY
|
||||
barback: 0.15.2+14 # TRANSITIVE DEPENDENCY
|
||||
boolean_selector: 1.0.2 # TRANSITIVE DEPENDENCY
|
||||
|
@ -20,8 +20,6 @@ const Duration _kCancelDuration = const Duration(milliseconds: 75);
|
||||
// The fade out begins 300ms after the _fadeOutController starts. See confirm().
|
||||
const double _kFadeOutIntervalStart = 300.0 / 450.0;
|
||||
|
||||
const double _kRippleConfirmedVelocity = 1.0; // logical pixels per millisecond
|
||||
|
||||
RectCallback _getClipCallback(RenderBox referenceBox, bool containedInkWell, RectCallback rectCallback) {
|
||||
if (rectCallback != null) {
|
||||
assert(containedInkWell);
|
||||
|
@ -20,7 +20,7 @@ dev_dependencies:
|
||||
sdk: flutter
|
||||
mockito: 2.2.1
|
||||
|
||||
args: 0.13.7 # TRANSITIVE DEPENDENCY
|
||||
args: 1.2.0 # TRANSITIVE DEPENDENCY
|
||||
async: 1.13.3 # TRANSITIVE DEPENDENCY
|
||||
barback: 0.15.2+14 # TRANSITIVE DEPENDENCY
|
||||
boolean_selector: 1.0.2 # TRANSITIVE DEPENDENCY
|
||||
|
@ -24,7 +24,7 @@ dev_dependencies:
|
||||
mockito: 2.2.1
|
||||
quiver: 0.27.0
|
||||
|
||||
args: 0.13.7 # TRANSITIVE DEPENDENCY
|
||||
args: 1.2.0 # TRANSITIVE DEPENDENCY
|
||||
async: 1.13.3 # TRANSITIVE DEPENDENCY
|
||||
barback: 0.15.2+14 # TRANSITIVE DEPENDENCY
|
||||
boolean_selector: 1.0.2 # TRANSITIVE DEPENDENCY
|
||||
|
@ -12,7 +12,7 @@ dev_dependencies:
|
||||
sdk: flutter
|
||||
mockito: 2.2.1
|
||||
|
||||
args: 0.13.7 # TRANSITIVE DEPENDENCY
|
||||
args: 1.2.0 # TRANSITIVE DEPENDENCY
|
||||
async: 1.13.3 # TRANSITIVE DEPENDENCY
|
||||
barback: 0.15.2+14 # TRANSITIVE DEPENDENCY
|
||||
boolean_selector: 1.0.2 # TRANSITIVE DEPENDENCY
|
||||
|
@ -25,7 +25,7 @@ dependencies:
|
||||
# Used by globalToLocal et al.
|
||||
vector_math: 2.0.5
|
||||
|
||||
args: 0.13.7 # TRANSITIVE DEPENDENCY
|
||||
args: 1.2.0 # TRANSITIVE DEPENDENCY
|
||||
async: 1.13.3 # TRANSITIVE DEPENDENCY
|
||||
barback: 0.15.2+14 # TRANSITIVE DEPENDENCY
|
||||
boolean_selector: 1.0.2 # TRANSITIVE DEPENDENCY
|
||||
|
@ -6,5 +6,5 @@ To run the tests, ensure that no devices are connected,
|
||||
then navigate to `flutter_tools` and execute:
|
||||
|
||||
```shell
|
||||
DART_VM_OPTIONS=--assert-initializer ../../bin/cache/dart-sdk/bin/pub run test
|
||||
../../bin/cache/dart-sdk/bin/pub run test
|
||||
```
|
||||
|
@ -12,7 +12,7 @@ String get dartSdkPath {
|
||||
}
|
||||
|
||||
/// The required Dart language flags
|
||||
const List<String> dartVmFlags = const <String>['--assert-initializer'];
|
||||
const List<String> dartVmFlags = const <String>[];
|
||||
|
||||
/// Return the platform specific name for the given Dart SDK binary. So, `pub`
|
||||
/// ==> `pub.bat`. The default SDK location can be overridden with a specified
|
||||
|
@ -4,6 +4,7 @@
|
||||
|
||||
import 'dart:async';
|
||||
|
||||
import 'package:args/args.dart';
|
||||
import 'package:args/command_runner.dart';
|
||||
import 'package:meta/meta.dart';
|
||||
import 'package:quiver/strings.dart';
|
||||
@ -61,6 +62,10 @@ class FlutterOptions {
|
||||
}
|
||||
|
||||
abstract class FlutterCommand extends Command<Null> {
|
||||
@override
|
||||
ArgParser get argParser => _argParser;
|
||||
final ArgParser _argParser = new ArgParser(allowTrailingOptions: false);
|
||||
|
||||
@override
|
||||
FlutterCommandRunner get runner => super.runner;
|
||||
|
||||
|
@ -122,6 +122,10 @@ class FlutterCommandRunner extends CommandRunner<Null> {
|
||||
'--record-to.');
|
||||
}
|
||||
|
||||
@override
|
||||
ArgParser get argParser => _argParser;
|
||||
final ArgParser _argParser = new ArgParser(allowTrailingOptions: false);
|
||||
|
||||
@override
|
||||
String get usageFooter {
|
||||
return 'Run "flutter help -v" for verbose help output, including less commonly used options.';
|
||||
|
@ -9,9 +9,9 @@ environment:
|
||||
dependencies:
|
||||
# To update these, use "flutter update-packages --force-upgrade".
|
||||
archive: 1.0.33
|
||||
args: 0.13.7
|
||||
args: 1.2.0
|
||||
cli_util: 0.1.2+1
|
||||
coverage: 0.9.3
|
||||
coverage: 0.10.0
|
||||
crypto: 2.0.2+1
|
||||
file: 2.3.5
|
||||
http: 0.11.3+14
|
||||
|
Loading…
x
Reference in New Issue
Block a user