Skip to content

Commit 70c1f26

Browse files
authored
Avoid creating map literal in flutter.gradle multidex check (#113845)
1 parent 1ebe53c commit 70c1f26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/flutter_tools/gradle/flutter.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ class FlutterPlugin implements Plugin<Project> {
244244
project.android {
245245
defaultConfig {
246246
multiDexEnabled true
247-
manifestPlaceholders = [applicationName: "io.flutter.app.FlutterMultiDexApplication"]
247+
manifestPlaceholders.applicationName = "io.flutter.app.FlutterMultiDexApplication"
248248
}
249249
buildTypes {
250250
release {
@@ -263,7 +263,7 @@ class FlutterPlugin implements Plugin<Project> {
263263
project.android {
264264
defaultConfig {
265265
// Setting to android.app.Application is the same as omitting the attribute.
266-
manifestPlaceholders = [applicationName: baseApplicationName]
266+
manifestPlaceholders.applicationName = baseApplicationName
267267
}
268268
}
269269
}

0 commit comments

Comments
 (0)