I am rather confused by IntelliJ IDEA\'s gradle integration and the mapping of gradle subprojects to IDEA\'s modules.
If you want to just disable this option for a previously imported project you can do so by editing idea gradle configuration file located in .idea/gradle.xml.
Add this line that sets resolveModulePerSourceSet to false:
... ...
And then refresh the gradle project.