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

This commit is contained in:
Gary Qian
2022-10-21 13:08:07 -07:00
committed by GitHub
parent 1ebe53c209
commit 70c1f262ea

View File

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