I need to write a lot of trivial modules and I don\'t want to hide the main modules between them. For this reason I want to have a directory tree like this:
You can now define the location of modules with
include ':myModule' project(':myModule').projectDir = new File('dir/myModule')
Further, you have to remove the .iml files under the module directory to let Android Studio recreate them.