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