Unverified Commit 78e205c8 authored by Mikkel Nygaard Ravn's avatar Mikkel Nygaard Ravn Committed by GitHub

Make Dart2 the default in Gradle script (#17682)

parent 6c9a7c58
...@@ -256,7 +256,7 @@ class FlutterPlugin implements Plugin<Project> { ...@@ -256,7 +256,7 @@ class FlutterPlugin implements Plugin<Project> {
target = project.property('target') target = project.property('target')
} }
Boolean previewDart2Value = false Boolean previewDart2Value = true
if (project.hasProperty('preview-dart-2')) { if (project.hasProperty('preview-dart-2')) {
previewDart2Value = project.property('preview-dart-2').toBoolean() previewDart2Value = project.property('preview-dart-2').toBoolean()
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment