Unverified Commit 70c1f262 authored by Gary Qian's avatar Gary Qian Committed by GitHub

Avoid creating map literal in `flutter.gradle` multidex check (#113845)

parent 1ebe53c2
...@@ -244,7 +244,7 @@ class FlutterPlugin implements Plugin<Project> { ...@@ -244,7 +244,7 @@ class FlutterPlugin implements Plugin<Project> {
project.android { project.android {
defaultConfig { defaultConfig {
multiDexEnabled true multiDexEnabled true
manifestPlaceholders = [applicationName: "io.flutter.app.FlutterMultiDexApplication"] manifestPlaceholders.applicationName = "io.flutter.app.FlutterMultiDexApplication"
} }
buildTypes { buildTypes {
release { release {
...@@ -263,7 +263,7 @@ class FlutterPlugin implements Plugin<Project> { ...@@ -263,7 +263,7 @@ class FlutterPlugin implements Plugin<Project> {
project.android { project.android {
defaultConfig { defaultConfig {
// Setting to android.app.Application is the same as omitting the attribute. // Setting to android.app.Application is the same as omitting the attribute.
manifestPlaceholders = [applicationName: baseApplicationName] manifestPlaceholders.applicationName = baseApplicationName
} }
} }
} }
......
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