Skip to content

Commit 6e2e769

Browse files
Merge branch '5.7.x' into 5.8.x
Closes gh-11980
2 parents 4b6fed0 + b17ba7c commit 6e2e769

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Diff for: build.gradle

+1-4
Original file line numberDiff line numberDiff line change
@@ -187,12 +187,9 @@ nohttp {
187187
}
188188

189189
tasks.register('cloneSamples', IncludeRepoTask) {
190-
if (!project.hasProperty("cloneOutputDirectory")) {
191-
throw new GradleException("Required parameter 'cloneOutputDirectory' not found")
192-
}
193190
repository = 'spring-projects/spring-security-samples'
194191
ref = samplesBranch
195-
outputDirectory = project.file("$cloneOutputDirectory")
192+
outputDirectory = project.hasProperty("cloneOutputDirectory") ? project.file("$cloneOutputDirectory") : project.file("build/samples")
196193
}
197194

198195
s101 {

0 commit comments

Comments
 (0)