Merge branch '5.7.x' into 5.8.x

Closes gh-11980
This commit is contained in:
Marcus Da Coregio 2022-10-10 11:01:56 -03:00
commit 6e2e76978f
1 changed files with 1 additions and 4 deletions

View File

@ -187,12 +187,9 @@ nohttp {
}
tasks.register('cloneSamples', IncludeRepoTask) {
if (!project.hasProperty("cloneOutputDirectory")) {
throw new GradleException("Required parameter 'cloneOutputDirectory' not found")
}
repository = 'spring-projects/spring-security-samples'
ref = samplesBranch
outputDirectory = project.file("$cloneOutputDirectory")
outputDirectory = project.hasProperty("cloneOutputDirectory") ? project.file("$cloneOutputDirectory") : project.file("build/samples")
}
s101 {