mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-02-24 16:05:15 +00:00
Instead of copying classes to the compile output, we now add them directly to the JAR. This allows JavaCompile to be cached, since there are no overlapping outputs anymore.
45 lines
1.3 KiB
Groovy
45 lines
1.3 KiB
Groovy
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'
|
|
optional 'io.projectreactor:reactor-core'
|
|
optional 'javax.annotation:jsr250-api'
|
|
optional 'net.sf.ehcache:ehcache'
|
|
optional 'org.aspectj:aspectjrt'
|
|
optional 'org.springframework:spring-jdbc'
|
|
optional 'org.springframework:spring-tx'
|
|
|
|
testCompile powerMock2Dependencies
|
|
testCompile 'commons-collections:commons-collections'
|
|
testCompile 'io.projectreactor:reactor-test'
|
|
testCompile 'org.skyscreamer:jsonassert'
|
|
testCompile 'org.slf4j:jcl-over-slf4j'
|
|
testCompile 'org.springframework:spring-test'
|
|
|
|
testRuntime 'org.hsqldb:hsqldb'
|
|
}
|
|
|
|
tasks.jar.from { includeProject.sourceSets.main.output }
|
|
|
|
tasks.sourcesJar.from {includeProject.sourceSets.main.java}
|
|
|
|
configure(project.tasks.withType(Test)) {
|
|
systemProperties['springSecurityVersion'] = version
|
|
systemProperties['springVersion'] = project.dependencyManagement.managedVersions['org.springframework:spring-core']
|
|
}
|