IDEA-116756 Gradle multi-module project with deep-nested modules - idea places iml file in the wrong directory
(cherry picked from commit 8e2ad06)