Make Dart2 the default in Gradle script (#17682)
This commit is contained in:
committed by
GitHub
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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user