2009-12-05 05:33:17 +08:00
|
|
|
// Core build file
|
|
|
|
|
2011-06-10 07:01:25 +08:00
|
|
|
// We don't define a module dependency on crypto to avoid creating a transitive dependency
|
|
|
|
def cryptoProject = project(':spring-security-crypto')
|
|
|
|
def cryptoClasses = cryptoProject.sourceSets.main.classes
|
|
|
|
|
2009-12-05 05:33:17 +08:00
|
|
|
dependencies {
|
2011-03-09 00:19:51 +08:00
|
|
|
compile 'aopalliance:aopalliance:1.0',
|
2009-12-08 09:54:15 +08:00
|
|
|
"net.sf.ehcache:ehcache:$ehcacheVersion",
|
2009-12-05 05:33:17 +08:00
|
|
|
"org.springframework:spring-aop:$springVersion",
|
|
|
|
"org.springframework:spring-beans:$springVersion",
|
|
|
|
"org.springframework:spring-context:$springVersion",
|
|
|
|
"org.springframework:spring-expression:$springVersion",
|
|
|
|
"org.springframework:spring-jdbc:$springVersion",
|
|
|
|
"org.springframework:spring-tx:$springVersion",
|
2009-12-22 01:32:38 +08:00
|
|
|
"org.aspectj:aspectjrt:$aspectjVersion",
|
|
|
|
'javax.annotation:jsr250-api:1.0'
|
2009-12-05 05:33:17 +08:00
|
|
|
|
|
|
|
testCompile 'commons-collections:commons-collections:3.2',
|
2010-09-11 09:17:22 +08:00
|
|
|
"org.springframework:spring-test:$springVersion",
|
2010-09-11 18:01:12 +08:00
|
|
|
"org.slf4j:jcl-over-slf4j:$slf4jVersion"
|
2010-02-27 08:41:16 +08:00
|
|
|
|
2011-04-22 20:33:56 +08:00
|
|
|
testRuntime "hsqldb:hsqldb:$hsqlVersion",
|
|
|
|
"cglib:cglib-nodep:$cglibVersion"
|
2009-12-05 05:33:17 +08:00
|
|
|
}
|
2011-03-08 01:44:38 +08:00
|
|
|
|
2011-06-10 07:01:25 +08:00
|
|
|
compileJava.dependsOn cryptoProject.compileJava
|
|
|
|
classes.dependsOn cryptoProject.classes
|
|
|
|
|
|
|
|
classes.doLast {
|
|
|
|
copy {
|
|
|
|
from cryptoClasses
|
|
|
|
into sourceSets.main.classesDir
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets.main.compileClasspath += cryptoClasses
|
|
|
|
sourceSets.test.compileClasspath += cryptoClasses
|
|
|
|
|
|
|
|
sourceJar.from cryptoProject.sourceSets.main.java
|
2011-03-08 01:44:38 +08:00
|
|
|
|
2011-03-11 02:58:47 +08:00
|
|
|
test {
|
2011-05-08 00:15:02 +08:00
|
|
|
systemProperties['springSecurityVersion'] = version
|
|
|
|
systemProperties['springVersion'] = springVersion
|
2011-03-08 01:44:38 +08:00
|
|
|
}
|