Build Leverages tests-configuration plugin
This commit is contained in:
parent
d57b0b11ab
commit
e1ef0477fb
|
@ -3,9 +3,6 @@ apply plugin: 'io.spring.convention.spring-module'
|
|||
def includeProject = project(':spring-security-crypto')
|
||||
|
||||
configurations {
|
||||
tests
|
||||
published.extendsFrom tests, archives
|
||||
|
||||
included
|
||||
compile.extendsFrom included
|
||||
}
|
||||
|
@ -49,20 +46,3 @@ configure(project.tasks.withType(Test)) {
|
|||
systemProperties['springSecurityVersion'] = version
|
||||
systemProperties['springVersion'] = project.dependencyManagement.managedVersions['org.springframework:spring-core']
|
||||
}
|
||||
|
||||
task testJar(type: Jar) {
|
||||
classifier = 'tests'
|
||||
from sourceSets.test.output
|
||||
}
|
||||
|
||||
artifacts {
|
||||
tests testJar
|
||||
}
|
||||
|
||||
uploadPublished {
|
||||
// maven deployer configuration
|
||||
}
|
||||
|
||||
install {
|
||||
configuration = configurations.published
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue