I have an IntelliJ 14.1.2 Project consisting of two modules - one is an Android Gradle based module and the other is a Spring Java-based module with Maven.
gps-track
For some reason, you can not delete the .idea folder
The best way is