2017-03-28 16:45:30 -04:00
|
|
|
apply plugin: 'io.spring.convention.spring-module'
|
|
|
|
|
|
|
|
def includeProject = project(':spring-security-crypto')
|
|
|
|
|
|
|
|
configurations {
|
|
|
|
included
|
|
|
|
compile.extendsFrom included
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile 'org.springframework:spring-aop'
|
|
|
|
compile 'org.springframework:spring-beans'
|
|
|
|
compile 'org.springframework:spring-context'
|
|
|
|
compile 'org.springframework:spring-core'
|
|
|
|
compile 'org.springframework:spring-expression'
|
|
|
|
|
|
|
|
included includeProject
|
|
|
|
|
|
|
|
optional 'com.fasterxml.jackson.core:jackson-databind'
|
2017-05-02 22:19:14 -04:00
|
|
|
optional 'io.projectreactor:reactor-core'
|
2017-03-28 16:45:30 -04:00
|
|
|
optional 'javax.annotation:jsr250-api'
|
|
|
|
optional 'net.sf.ehcache:ehcache'
|
|
|
|
optional 'org.aspectj:aspectjrt'
|
|
|
|
optional 'org.springframework:spring-jdbc'
|
|
|
|
optional 'org.springframework:spring-tx'
|
|
|
|
|
2017-10-09 14:19:21 -04:00
|
|
|
testCompile powerMock2Dependencies
|
2017-03-28 16:45:30 -04:00
|
|
|
testCompile 'commons-collections:commons-collections'
|
2017-06-08 14:06:51 -04:00
|
|
|
testCompile 'io.projectreactor:reactor-test'
|
2017-03-28 16:45:30 -04:00
|
|
|
testCompile 'org.skyscreamer:jsonassert'
|
|
|
|
testCompile 'org.slf4j:jcl-over-slf4j'
|
|
|
|
testCompile 'org.springframework:spring-test'
|
|
|
|
|
|
|
|
testRuntime 'org.hsqldb:hsqldb'
|
|
|
|
}
|
|
|
|
|
2018-03-16 14:53:40 -04:00
|
|
|
task springVersion(type: versions.VersionsResourceTasks) {
|
|
|
|
versionsFile = file("${buildDir}/versions/spring-security.versions")
|
|
|
|
versions = { project.dependencyManagement.managedVersions }
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.processResources {
|
|
|
|
into('META-INF') {
|
|
|
|
from project.tasks.springVersion.outputs
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-01 07:17:01 -05:00
|
|
|
tasks.jar.from { includeProject.sourceSets.main.output }
|
2017-03-28 16:45:30 -04:00
|
|
|
|
|
|
|
tasks.sourcesJar.from {includeProject.sourceSets.main.java}
|
|
|
|
|
|
|
|
configure(project.tasks.withType(Test)) {
|
|
|
|
systemProperties['springSecurityVersion'] = version
|
|
|
|
systemProperties['springVersion'] = project.dependencyManagement.managedVersions['org.springframework:spring-core']
|
|
|
|
}
|