Unverified Commit cece4a5d authored by Adel Khial's avatar Adel Khial Committed by GitHub

Fix typo in flutter.gradle (#114143)

parent d93208a6
...@@ -581,7 +581,7 @@ class FlutterPlugin implements Plugin<Project> { ...@@ -581,7 +581,7 @@ class FlutterPlugin implements Plugin<Project> {
return [] return []
} }
private static String toCammelCase(List<String> parts) { private static String toCamelCase(List<String> parts) {
if (parts.empty) { if (parts.empty) {
return "" return ""
} }
...@@ -884,7 +884,7 @@ class FlutterPlugin implements Plugin<Project> { ...@@ -884,7 +884,7 @@ class FlutterPlugin implements Plugin<Project> {
} }
} }
String variantBuildMode = buildModeFor(variant.buildType) String variantBuildMode = buildModeFor(variant.buildType)
String taskName = toCammelCase(["compile", FLUTTER_BUILD_PREFIX, variant.name]) String taskName = toCamelCase(["compile", FLUTTER_BUILD_PREFIX, variant.name])
FlutterTask compileTask = project.tasks.create(name: taskName, type: FlutterTask) { FlutterTask compileTask = project.tasks.create(name: taskName, type: FlutterTask) {
flutterRoot this.flutterRoot flutterRoot this.flutterRoot
flutterExecutable this.flutterExecutable flutterExecutable this.flutterExecutable
......
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