mirror of
https://github.com/flutter/flutter
synced 2024-09-19 16:21:58 +00:00
Make Dart2 the default in Gradle script (#17682)
This commit is contained in:
parent
6c9a7c5803
commit
78e205c8f2
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue