Gradle "idea" erases the VCS integration setup

(Phil Swenson) #1

I think this is a bug, not sure. Every time I run “gradle idea” the VCS integration with SVN quits working in IntelliJ and I have to manually set it up again. Is there a work-around?


(Evgeny Goldin) #2

That’s what I use to restore it: => “ Modifying the XML representation”:

idea.project {

ipr.withXml { provider -> provider.node.component.find { it.@name == ‘VcsDirectoryMappings’ }.mapping.@vcs = ‘Git’ }