How do you remove source directories from your IDE...
# gradle
c
How do you remove source directories from your IDEA project module through Gradle? This isn't working:
Copy code
// platform-convention.kts
idea {
    module {
        sourceDirs = sourceDirs - project(":common").idea.module.sourceDirs
    }
}
I've confirmed that this is actually modifying the sourceDirs variable (unlike
removeAll
), but even after removing the common source directories from the platform module manually, they still come back after every refresh.