I defined a build.gradle file with contents similar to that described in
I can see the expected changes to the .iml file if I run
However, if I import the project into IntelliJ from the gradle file, I do not see these changes. When importing, I do see the effects of changes to idea.module.sourceDirs, so I know my build.gradle file is being processed in some way. Is there a way I can get changes to idea.module.iml.withXml to also apply?