I have been removing them from every possible corner in project structure -> modules. Removed them by clicking on them from IJ, but IJ keeps creating them. I have even replaced all strings in whole project folder "/src" to "" but it works until next Gradle refresh + rebuild.

How to get rid of that folder?

网友答案:

You can change default project layout and remove src folder from it's paths, by changing source sets properties as follows: