48 lines
1.2 KiB
Groovy
48 lines
1.2 KiB
Groovy
|
|
import org.gradle.api.tasks.diagnostics.GraphvizReportRenderer
|
|
|
|
usePlugin('java')
|
|
|
|
version = '3.0.0.CI-SNAPSHOT'
|
|
|
|
allprojects {
|
|
repositories {
|
|
mavenRepo name:'localRepo', urls:'file:///Users/luke/.m2/repository'
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
subprojects {
|
|
usePlugin 'java'
|
|
usePlugin 'project-reports'
|
|
|
|
springVersion = '3.0.0.RELEASE'
|
|
springLdapVersion = '1.3.0.RELEASE'
|
|
ehcacheVersion = '1.6.2'
|
|
aspectjVersion = '1.6.5'
|
|
apacheDsVersion = '1.5.5'
|
|
|
|
/* dependencyReport {
|
|
renderer = new GraphvizReportRenderer()
|
|
}*/
|
|
|
|
dependencies {
|
|
compile 'commons-logging:commons-logging:1.1.1'
|
|
|
|
testCompile 'junit:junit:4.7',
|
|
'org.mockito:mockito-core:1.7',
|
|
'org.jmock:jmock:2.5.1',
|
|
'org.jmock:jmock-junit4:2.5.1',
|
|
'org.hamcrest:hamcrest-core:1.1',
|
|
'org.hamcrest:hamcrest-library:1.1',
|
|
"org.springframework:spring-test:$springVersion"
|
|
}
|
|
|
|
test {
|
|
options.fork(forkMode: ForkMode.ONCE, jvmArgs: ["-ea", '-Xms128m', '-Xmx1g', '-XX:MaxPermSize=128m', '-XX:+HeapDumpOnOutOfMemoryError'])
|
|
}
|
|
|
|
group = 'org.springframework.security'
|
|
}
|
|
|