I opened a pull request to allow VCS to be configured for intellij Projects: https://github.com/gradle/gradle/pull/263
Motivation: My workflow involves running 'gradle cleanIdea idea' fairly often, and It's annoying to have to reconfigure Intellij to recognize that it's a Git project every time. The pull request is currently quite simple, and I'm open to ideas for improvements. Maybe auto-detect VCS, do some sort of validation that the supplied VCS is valid for Intellij etc. I know that this can be accomplished by using withXml, but feel that creates an ugly build file for what I imagine is a very common use case. Thoughts? -Kallin Nagelberg