1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- apply plugin: 'java'
- apply plugin: 'eclipse'
- springVersion = '3.0.3.RELEASE'
- 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'
- slf4jVersion = '1.6.1'
- logbackVersion = '0.9.24'
- configurations {
- provided
- compile.extendsFrom provided
- compile.transitive = false
- }
- dependencies {
- // We only compile against commons logging. It is excluded from all other configurations
- compile 'commons-logging:commons-logging:1.1.1'
- compile ("org.springframework:spring-core:$springVersion") {
- exclude(group: 'commons-logging', module: 'commons-logging')
- }
- testCompile 'junit:junit:4.7',
- 'org.mockito:mockito-core:1.8.3',
- '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"
- // Use slf4j/logback for logging
- testRuntime "org.slf4j:slf4j-api:$slf4jVersion",
- "org.slf4j:jcl-over-slf4j:$slf4jVersion",
- "ch.qos.logback:logback-core:$logbackVersion",
- "ch.qos.logback:logback-classic:$logbackVersion"
- }
- // Get rid of commons logging
- [configurations.runtime, configurations.default]*.exclude(module: 'commons-logging')
- test {
- onlyIf {
- !project.hasProperty('skipTests')
- }
- jvmArgs = ['-ea', '-Xms128m', '-Xmx500m', '-XX:MaxPermSize=128m']
- }
|