Make Dart2 the default in Gradle script (#17682)

This commit is contained in:
Mikkel Nygaard Ravn
2018-05-17 09:56:21 +02:00
committed by GitHub
parent 6c9a7c5803
commit 78e205c8f2

View File

@@ -256,7 +256,7 @@ class FlutterPlugin implements Plugin<Project> {
target = project.property('target')
}
Boolean previewDart2Value = false
Boolean previewDart2Value = true
if (project.hasProperty('preview-dart-2')) {
previewDart2Value = project.property('preview-dart-2').toBoolean()
}