Upgrade to Spring 3.0.4 and adjust IDEA plugin customization.

This commit is contained in:
Luke Taylor 2010-08-21 14:15:54 +01:00
parent 1db83fc81e
commit 9e5189c8ba
2 changed files with 13 additions and 13 deletions

View File

@ -42,36 +42,36 @@ configure (aspectjProjects) {
}
apply from: "$rootDir/gradle/dist.gradle"
apply plugin: 'idea'
configure(javaProjects) {
allprojects {
apply plugin: 'idea'
apply plugin: 'eclipse'
ideaModule {
downloadJavadoc=false
excludeDirs.add(buildDir)
}
def config = configurations.findByName('testRuntime')
if (!config) {
return
}
ideaModule {
downloadJavadoc=false
excludeDirs.add(buildDir)
gradleCacheVariable = 'GRADLE_CACHE'
outputDir = "$rootProject.projectDir/intellij/out" as File
testOutputDir = "$rootProject.projectDir/intellij/testOut" as File
}
}
ideaModule {
excludeDirs.add(file('.gradle'))
excludeDirs.add(file('buildSrc/build'))
excludeDirs.add(file('buildSrc/.gradle'))
excludeDirs += file('.gradle')
excludeDirs += file('buildSrc/build')
excludeDirs += file('buildSrc/.gradle')
}
ideaProject {
wildcards += ['?*.gradle']
javaVersion = '1.6'
withXml { node ->
node.component.find { it.@name == 'VcsDirectoryMappings' }.mapping.@vcs = 'Git'
// Use git
def vcsConfig = node.component.find { it.'@name' == 'VcsDirectoryMappings' }
vcsConfig.mapping[0].'@vcs' = 'Git'
}
}

View File

@ -1,7 +1,7 @@
apply plugin: 'java'
apply plugin: 'eclipse'
springVersion = '3.0.3.RELEASE'
springVersion = '3.0.4.RELEASE'
springLdapVersion = '1.3.0.RELEASE'
ehcacheVersion = '1.6.2'
aspectjVersion = '1.6.9'