spring-security/core/core.gradle

46 lines
1.6 KiB
Groovy
Raw Normal View History

// Core build file
// We don't define a module dependency on crypto to avoid creating a transitive dependency
def cryptoProject = project(':spring-security-crypto')
2012-06-29 13:59:22 -04:00
def cryptoClasses = cryptoProject.sourceSets.main.output
dependencies {
2013-07-16 16:15:42 -04:00
compile cryptoProject.sourceSets.main.output,
'aopalliance:aopalliance:1.0',
"org.springframework:spring-aop:$springVersion",
"org.springframework:spring-beans:$springVersion",
"org.springframework:spring-context:$springVersion",
2013-07-16 16:15:42 -04: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"
testCompile cryptoProject,
'commons-collections:commons-collections:3.2',
"org.springframework:spring-test:$springVersion",
"org.slf4j:jcl-over-slf4j:$slf4jVersion",
powerMockDependencies
testRuntime "hsqldb:hsqldb:$hsqlVersion",
"cglib:cglib-nodep:$cglibVersion"
}
compileJava.dependsOn cryptoProject.compileJava
classes.dependsOn cryptoProject.classes
classes.doLast {
copy {
from cryptoClasses
2012-06-29 13:59:22 -04:00
into sourceSets.main.output.classesDir
}
}
sourceJar.from cryptoProject.sourceSets.main.java
test {
2011-05-07 12:15:02 -04:00
systemProperties['springSecurityVersion'] = version
systemProperties['springVersion'] = springVersion
}