mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Avoid creating map literal in flutter.gradle
multidex check (#113845)
This commit is contained in:
parent
1ebe53c209
commit
70c1f262ea
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user