Thanks Denis. You’re correct in stating that this is inconsistent. We’d need to come up with a way to migrate the API of org.gradle.plugins.ide.idea.IdeaModule to allow multiple content roots, without breaking backward compatibility with the existing API (getContentRoot must continue to function correctly in all cases it does now).
Would you be interested in contributing a fix? If so, it might be worth raising this on the gradle developers list.