mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-27 14:22:47 +00:00
Merge pull request #4319 from rwinch/tests-configuration
Build Leverages tests-configuration plugin
This commit is contained in:
commit
a199819acb
@ -13,4 +13,4 @@ cache:
|
|||||||
- $HOME/.gradle/caches/
|
- $HOME/.gradle/caches/
|
||||||
- $HOME/.gradle/wrapper/
|
- $HOME/.gradle/wrapper/
|
||||||
|
|
||||||
script: ./gradlew build
|
script: ./gradlew build --refresh-dependencies --no-daemon
|
||||||
|
@ -3,9 +3,6 @@ apply plugin: 'io.spring.convention.spring-module'
|
|||||||
def includeProject = project(':spring-security-crypto')
|
def includeProject = project(':spring-security-crypto')
|
||||||
|
|
||||||
configurations {
|
configurations {
|
||||||
tests
|
|
||||||
published.extendsFrom tests, archives
|
|
||||||
|
|
||||||
included
|
included
|
||||||
compile.extendsFrom included
|
compile.extendsFrom included
|
||||||
}
|
}
|
||||||
@ -49,20 +46,3 @@ configure(project.tasks.withType(Test)) {
|
|||||||
systemProperties['springSecurityVersion'] = version
|
systemProperties['springSecurityVersion'] = version
|
||||||
systemProperties['springVersion'] = project.dependencyManagement.managedVersions['org.springframework:spring-core']
|
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…
x
Reference in New Issue
Block a user