2010-03-28 18:54:41 -04:00
|
|
|
apply plugin: 'java'
|
|
|
|
apply plugin: 'eclipse'
|
2010-03-03 10:40:57 -05:00
|
|
|
|
2010-06-17 21:07:12 -04:00
|
|
|
springVersion = '3.0.3.RELEASE'
|
2010-03-03 10:40:57 -05:00
|
|
|
springLdapVersion = '1.3.0.RELEASE'
|
|
|
|
ehcacheVersion = '1.6.2'
|
|
|
|
aspectjVersion = '1.6.8'
|
|
|
|
apacheDsVersion = '1.5.5'
|
|
|
|
jstlVersion = '1.1.2'
|
|
|
|
jettyVersion = '6.1.22'
|
|
|
|
hsqlVersion = '1.8.0.10'
|
|
|
|
|
|
|
|
configurations {
|
|
|
|
provided
|
|
|
|
compile.extendsFrom provided
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile 'commons-logging:commons-logging:1.1.1'
|
|
|
|
|
2010-03-07 16:58:25 -05:00
|
|
|
compile ("org.springframework:spring-core:$springVersion") {
|
|
|
|
exclude(group: 'commons-logging', module: 'commons-logging')
|
|
|
|
}
|
|
|
|
|
2010-03-03 10:40:57 -05:00
|
|
|
testCompile 'junit:junit:4.7',
|
2010-03-09 18:39:07 -05:00
|
|
|
'org.mockito:mockito-core:1.8.3',
|
2010-03-03 10:40:57 -05:00
|
|
|
'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 {
|
2010-03-07 18:53:33 -05:00
|
|
|
onlyIf {
|
|
|
|
!project.hasProperty('skipTests')
|
|
|
|
}
|
2010-03-03 10:40:57 -05:00
|
|
|
jvmArgs = ['-ea', '-Xms128m', '-Xmx500m', '-XX:MaxPermSize=128m']
|
|
|
|
}
|
|
|
|
|