2009-12-05 05:33:17 +08:00
|
|
|
// Config Module build file
|
|
|
|
|
2010-03-27 08:07:59 +08:00
|
|
|
apply plugin: 'groovy'
|
|
|
|
|
2010-01-11 07:31:23 +08:00
|
|
|
compileTestJava.dependsOn(':spring-security-core:compileTestJava')
|
2011-05-11 12:23:13 +08:00
|
|
|
|
2010-08-18 09:32:43 +08:00
|
|
|
configurations {
|
|
|
|
// GRADLE-1124
|
2010-08-20 05:41:51 +08:00
|
|
|
compile.extendsFrom = []
|
2010-08-18 09:32:43 +08:00
|
|
|
testCompile.extendsFrom groovy
|
|
|
|
}
|
|
|
|
|
2009-12-05 05:33:17 +08:00
|
|
|
dependencies {
|
2011-04-29 21:04:32 +08:00
|
|
|
// NB: Don't add other compile time dependencies to the config module as this breaks tooling
|
2010-01-11 07:31:23 +08:00
|
|
|
compile project(':spring-security-core'),
|
|
|
|
project(':spring-security-web'),
|
2009-12-22 01:32:38 +08:00
|
|
|
"org.aspectj:aspectjweaver:$aspectjVersion",
|
2010-04-01 05:37:22 +08:00
|
|
|
'aopalliance:aopalliance:1.0',
|
2009-12-05 05:33:17 +08:00
|
|
|
"org.springframework:spring-aop:$springVersion",
|
|
|
|
"org.springframework:spring-context:$springVersion",
|
2010-03-08 05:58:25 +08:00
|
|
|
"org.springframework:spring-web:$springVersion",
|
2010-03-27 02:05:28 +08:00
|
|
|
"org.springframework:spring-beans:$springVersion"
|
2009-12-05 05:33:17 +08:00
|
|
|
|
2010-03-08 05:58:25 +08:00
|
|
|
provided "javax.servlet:servlet-api:2.5"
|
|
|
|
|
2011-02-15 03:03:08 +08:00
|
|
|
groovy group: 'org.codehaus.groovy', name: 'groovy', version: '1.7.7'
|
2010-03-27 08:07:59 +08:00
|
|
|
|
2010-01-11 07:31:23 +08:00
|
|
|
testCompile project(':spring-security-ldap'),
|
|
|
|
project(':spring-security-openid'),
|
2010-08-05 09:11:00 +08:00
|
|
|
project(':spring-security-core').sourceSets.test.classes,
|
2009-12-22 01:32:38 +08:00
|
|
|
'javax.annotation:jsr250-api:1.0',
|
|
|
|
"org.springframework.ldap:spring-ldap-core:$springLdapVersion",
|
2010-03-27 02:05:28 +08:00
|
|
|
"org.springframework:spring-jdbc:$springVersion",
|
2010-03-27 08:07:59 +08:00
|
|
|
"org.springframework:spring-tx:$springVersion",
|
2011-02-15 03:03:08 +08:00
|
|
|
'org.spockframework:spock-core:0.5-groovy-1.7',
|
2010-07-27 09:16:39 +08:00
|
|
|
"org.slf4j:jcl-over-slf4j:$slf4jVersion"
|
2011-05-11 12:17:36 +08:00
|
|
|
testCompile('org.openid4java:openid4java-nodeps:0.9.6') {
|
2011-04-29 21:04:32 +08:00
|
|
|
exclude group: 'com.google.code.guice', module: 'guice'
|
|
|
|
}
|
|
|
|
|
2009-12-05 05:33:17 +08:00
|
|
|
|
2010-04-01 05:37:22 +08:00
|
|
|
testRuntime "hsqldb:hsqldb:$hsqlVersion",
|
|
|
|
"cglib:cglib-nodep:2.2"
|
2011-02-15 03:03:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
integrationTest {
|
|
|
|
systemProperties['apacheDSWorkDir'] = "${buildDir}/apacheDSWork"
|
|
|
|
}
|