Skip to content

Commit f9f4104

Browse files
Merge branch '5.8.x'
Closes gh-11981
2 parents c5e35bf + 6e2e769 commit f9f4104

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

build.gradle

+1-4
Original file line numberDiff line numberDiff line change
@@ -179,12 +179,9 @@ nohttp {
179179
}
180180

181181
tasks.register('cloneSamples', IncludeRepoTask) {
182-
if (!project.hasProperty("cloneOutputDirectory")) {
183-
throw new GradleException("Required parameter 'cloneOutputDirectory' not found")
184-
}
185182
repository = 'spring-projects/spring-security-samples'
186183
ref = samplesBranch
187-
outputDirectory = project.file("$cloneOutputDirectory")
184+
outputDirectory = project.hasProperty("cloneOutputDirectory") ? project.file("$cloneOutputDirectory") : project.file("build/samples")
188185
}
189186

190187
s101 {

0 commit comments

Comments
 (0)