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.
2 parents 37dd896 + e0f8c71 commit b17ba7cCopy full SHA for b17ba7c
build.gradle
@@ -202,12 +202,9 @@ nohttp {
202
}
203
204
tasks.register('cloneSamples', IncludeRepoTask) {
205
- if (!project.hasProperty("cloneOutputDirectory")) {
206
- throw new GradleException("Required parameter 'cloneOutputDirectory' not found")
207
- }
208
repository = 'spring-projects/spring-security-samples'
209
ref = samplesBranch
210
- outputDirectory = project.file("$cloneOutputDirectory")
+ outputDirectory = project.hasProperty("cloneOutputDirectory") ? project.file("$cloneOutputDirectory") : project.file("build/samples")
211
212
213
s101 {
0 commit comments