mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-29 15:22:15 +00:00
Fix gradle IDEA code for git selection as VCS.
This commit is contained in:
parent
71ed6d7964
commit
1b2fdf8b02
@ -117,8 +117,9 @@ ideaModule {
|
|||||||
ideaProject {
|
ideaProject {
|
||||||
javaVersion = '1.6'
|
javaVersion = '1.6'
|
||||||
subprojects = [rootProject] + javaProjects
|
subprojects = [rootProject] + javaProjects
|
||||||
withXml { node ->
|
withXml { provider ->
|
||||||
// Use git
|
// Use git
|
||||||
|
def node = provider.asNode()
|
||||||
def vcsConfig = node.component.find { it.'@name' == 'VcsDirectoryMappings' }
|
def vcsConfig = node.component.find { it.'@name' == 'VcsDirectoryMappings' }
|
||||||
vcsConfig.mapping[0].'@vcs' = 'Git'
|
vcsConfig.mapping[0].'@vcs' = 'Git'
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user