2009-12-04 21:33:17 +00:00
|
|
|
// Core build file
|
|
|
|
|
2011-03-08 16:19:51 +00:00
|
|
|
// We don't define a module dependency on crypto to avoid creating a transitive dependency
|
2011-03-07 17:44:38 +00:00
|
|
|
def cryptoProject = project(':spring-security-crypto')
|
2011-03-08 16:19:51 +00:00
|
|
|
def cryptoClasses = cryptoProject.sourceSets.main.classes
|
2011-03-07 17:44:38 +00:00
|
|
|
|
2009-12-04 21:33:17 +00:00
|
|
|
dependencies {
|
2011-03-08 16:19:51 +00:00
|
|
|
compile 'aopalliance:aopalliance:1.0',
|
2009-12-08 01:54:15 +00:00
|
|
|
"net.sf.ehcache:ehcache:$ehcacheVersion",
|
2009-12-04 21:33:17 +00: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",
|
|
|
|
"org.springframework:spring-web:$springVersion",
|
2009-12-21 17:32:38 +00:00
|
|
|
"org.aspectj:aspectjrt:$aspectjVersion",
|
|
|
|
'javax.annotation:jsr250-api:1.0'
|
2009-12-04 21:33:17 +00:00
|
|
|
|
|
|
|
testCompile 'commons-collections:commons-collections:3.2',
|
2010-09-10 20:17:22 -05:00
|
|
|
"org.springframework:spring-test:$springVersion",
|
2010-09-11 11:01:12 +01:00
|
|
|
"org.slf4j:jcl-over-slf4j:$slf4jVersion"
|
2010-02-27 00:41:16 +00:00
|
|
|
|
|
|
|
testRuntime "hsqldb:hsqldb:$hsqlVersion"
|
2009-12-04 21:33:17 +00:00
|
|
|
}
|
2011-03-07 17:44:38 +00:00
|
|
|
|
2011-03-08 16:19:51 +00:00
|
|
|
compileJava.dependsOn cryptoProject.compileJava
|
|
|
|
classes.dependsOn cryptoProject.classes
|
2011-03-07 17:44:38 +00:00
|
|
|
|
2011-03-08 16:19:51 +00:00
|
|
|
classes.doLast {
|
|
|
|
copy {
|
|
|
|
from cryptoClasses
|
|
|
|
into sourceSets.main.classesDir
|
|
|
|
}
|
2011-03-07 17:44:38 +00:00
|
|
|
}
|
|
|
|
|
2011-03-08 16:19:51 +00:00
|
|
|
sourceSets.main.compileClasspath += cryptoClasses
|
|
|
|
sourceSets.test.compileClasspath += cryptoClasses
|
|
|
|
|
|
|
|
sourceJar.from cryptoProject.sourceSets.main.java
|