We have an extension to the default directory layout of gradle. Here is a screenshot of our directory structure: http://cl.ly/MQNc Notice we have added an “integTest” directory next to the standard “test” directory.
I looked here for guidance: http://gradle.org/docs/current/dsl/org.gradle.plugins.ide.idea.model.IdeaModule.html and I added in this snippet in the module in question:
idea {
module {
testSourceDirs += file('integTest')
}
}
I see no difference in the generated .iml file.
Thoughts?