We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0843aa commit e0f8c71Copy full SHA for e0f8c71
build.gradle
@@ -203,12 +203,9 @@ nohttp {
203
}
204
205
tasks.register('cloneSamples', IncludeRepoTask) {
206
- if (!project.hasProperty("cloneOutputDirectory")) {
207
- throw new GradleException("Required parameter 'cloneOutputDirectory' not found")
208
- }
209
repository = 'spring-projects/spring-security-samples'
210
ref = samplesBranch
211
- outputDirectory = project.file("$cloneOutputDirectory")
+ outputDirectory = project.hasProperty("cloneOutputDirectory") ? project.file("$cloneOutputDirectory") : project.file("build/samples")
212
213
214
s101 {
0 commit comments