mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-30 16:52:13 +00:00
Delay lookup of managedVersions
Fixes: gh-5127
This commit is contained in:
parent
efaf2b080f
commit
67d793ae5f
@ -50,6 +50,8 @@ tasks.jar.from { includeProject.sourceSets.main.output }
|
|||||||
tasks.sourcesJar.from {includeProject.sourceSets.main.java}
|
tasks.sourcesJar.from {includeProject.sourceSets.main.java}
|
||||||
|
|
||||||
configure(project.tasks.withType(Test)) {
|
configure(project.tasks.withType(Test)) {
|
||||||
systemProperties['springSecurityVersion'] = version
|
doFirst {
|
||||||
systemProperties['springVersion'] = project.dependencyManagement.managedVersions['org.springframework:spring-core']
|
systemProperties['springSecurityVersion'] = version
|
||||||
|
systemProperties['springVersion'] = project.dependencyManagement.managedVersions['org.springframework:spring-core']
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user