Skip to content

Commit

Permalink
Delay lookup of managedVersions
Browse files Browse the repository at this point in the history
  • Loading branch information
rwinch committed Mar 16, 2018
1 parent efaf2b0 commit 67d793a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/spring-security-core.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ tasks.jar.from { includeProject.sourceSets.main.output }
tasks.sourcesJar.from {includeProject.sourceSets.main.java}

configure(project.tasks.withType(Test)) {
systemProperties['springSecurityVersion'] = version
systemProperties['springVersion'] = project.dependencyManagement.managedVersions['org.springframework:spring-core']
doFirst {
systemProperties['springSecurityVersion'] = version
systemProperties['springVersion'] = project.dependencyManagement.managedVersions['org.springframework:spring-core']
}
}

0 comments on commit 67d793a

Please sign in to comment.