Build Leverages tests-configuration plugin
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user