Merge pull request #4319 from rwinch/tests-configuration

Build Leverages tests-configuration plugin
This commit is contained in:
Rob Winch 2017-05-01 21:01:15 -05:00 committed by GitHub
commit a199819acb
2 changed files with 1 additions and 21 deletions

View File

@ -13,4 +13,4 @@ cache:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
script: ./gradlew build
script: ./gradlew build --refresh-dependencies --no-daemon

View File

@ -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
}