From 922c2d12139b9636be1cc0b645aaa7ff252ec003 Mon Sep 17 00:00:00 2001 From: Brian Slesinsky Date: Fri, 19 May 2017 13:36:53 -0700 Subject: [PATCH] rename Android module file to include project name (#10163) IDEA users sometimes want to create multiple Flutter modules in the same IDEA project. See discussion: https://github.com/flutter/flutter-intellij/issues/1014 In this case, we will actually have pairs of modules, one for Flutter and one for Android. Renaming the android module to make the relationship obvious. But, don't delete the old file yet to avoid breaking existing users. We can do that after the next Flutter plugin release. --- .../templates/create/.idea/modules.xml.tmpl | 2 +- .../templates/create/projectName_android.iml.tmpl | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 packages/flutter_tools/templates/create/projectName_android.iml.tmpl diff --git a/packages/flutter_tools/templates/create/.idea/modules.xml.tmpl b/packages/flutter_tools/templates/create/.idea/modules.xml.tmpl index 3a1214ba94..cd52175288 100644 --- a/packages/flutter_tools/templates/create/.idea/modules.xml.tmpl +++ b/packages/flutter_tools/templates/create/.idea/modules.xml.tmpl @@ -3,7 +3,7 @@ - + diff --git a/packages/flutter_tools/templates/create/projectName_android.iml.tmpl b/packages/flutter_tools/templates/create/projectName_android.iml.tmpl new file mode 100644 index 0000000000..8e9d155a82 --- /dev/null +++ b/packages/flutter_tools/templates/create/projectName_android.iml.tmpl @@ -0,0 +1,12 @@ + + + + + + + + + + + +