Skip to content

Commit b17ba7c

Browse files
Merge branch '5.6.x' into 5.7.x
Closes gh-11979
2 parents 37dd896 + e0f8c71 commit b17ba7c

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
@@ -202,12 +202,9 @@ nohttp {
202202
}
203203

204204
tasks.register('cloneSamples', IncludeRepoTask) {
205-
if (!project.hasProperty("cloneOutputDirectory")) {
206-
throw new GradleException("Required parameter 'cloneOutputDirectory' not found")
207-
}
208205
repository = 'spring-projects/spring-security-samples'
209206
ref = samplesBranch
210-
outputDirectory = project.file("$cloneOutputDirectory")
207+
outputDirectory = project.hasProperty("cloneOutputDirectory") ? project.file("$cloneOutputDirectory") : project.file("build/samples")
211208
}
212209

213210
s101 {

0 commit comments

Comments
 (0)