mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-09-08 20:51:41 +00:00
Upgrade to Spring 3.0.4 and adjust IDEA plugin customization.
This commit is contained in:
parent
1db83fc81e
commit
9e5189c8ba
24
build.gradle
24
build.gradle
@ -42,36 +42,36 @@ configure (aspectjProjects) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/gradle/dist.gradle"
|
apply from: "$rootDir/gradle/dist.gradle"
|
||||||
apply plugin: 'idea'
|
|
||||||
|
|
||||||
configure(javaProjects) {
|
allprojects {
|
||||||
apply plugin: 'idea'
|
apply plugin: 'idea'
|
||||||
apply plugin: 'eclipse'
|
apply plugin: 'eclipse'
|
||||||
ideaModule {
|
|
||||||
downloadJavadoc=false
|
|
||||||
excludeDirs.add(buildDir)
|
|
||||||
}
|
|
||||||
def config = configurations.findByName('testRuntime')
|
def config = configurations.findByName('testRuntime')
|
||||||
if (!config) {
|
if (!config) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
ideaModule {
|
ideaModule {
|
||||||
|
downloadJavadoc=false
|
||||||
|
excludeDirs.add(buildDir)
|
||||||
gradleCacheVariable = 'GRADLE_CACHE'
|
gradleCacheVariable = 'GRADLE_CACHE'
|
||||||
|
outputDir = "$rootProject.projectDir/intellij/out" as File
|
||||||
|
testOutputDir = "$rootProject.projectDir/intellij/testOut" as File
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ideaModule {
|
ideaModule {
|
||||||
excludeDirs.add(file('.gradle'))
|
excludeDirs += file('.gradle')
|
||||||
excludeDirs.add(file('buildSrc/build'))
|
excludeDirs += file('buildSrc/build')
|
||||||
excludeDirs.add(file('buildSrc/.gradle'))
|
excludeDirs += file('buildSrc/.gradle')
|
||||||
}
|
}
|
||||||
|
|
||||||
ideaProject {
|
ideaProject {
|
||||||
wildcards += ['?*.gradle']
|
|
||||||
javaVersion = '1.6'
|
javaVersion = '1.6'
|
||||||
|
|
||||||
withXml { node ->
|
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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
apply plugin: 'java'
|
apply plugin: 'java'
|
||||||
apply plugin: 'eclipse'
|
apply plugin: 'eclipse'
|
||||||
|
|
||||||
springVersion = '3.0.3.RELEASE'
|
springVersion = '3.0.4.RELEASE'
|
||||||
springLdapVersion = '1.3.0.RELEASE'
|
springLdapVersion = '1.3.0.RELEASE'
|
||||||
ehcacheVersion = '1.6.2'
|
ehcacheVersion = '1.6.2'
|
||||||
aspectjVersion = '1.6.9'
|
aspectjVersion = '1.6.9'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user