commit
6e2e76978f
|
@ -187,12 +187,9 @@ nohttp {
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.register('cloneSamples', IncludeRepoTask) {
|
tasks.register('cloneSamples', IncludeRepoTask) {
|
||||||
if (!project.hasProperty("cloneOutputDirectory")) {
|
|
||||||
throw new GradleException("Required parameter 'cloneOutputDirectory' not found")
|
|
||||||
}
|
|
||||||
repository = 'spring-projects/spring-security-samples'
|
repository = 'spring-projects/spring-security-samples'
|
||||||
ref = samplesBranch
|
ref = samplesBranch
|
||||||
outputDirectory = project.file("$cloneOutputDirectory")
|
outputDirectory = project.hasProperty("cloneOutputDirectory") ? project.file("$cloneOutputDirectory") : project.file("build/samples")
|
||||||
}
|
}
|
||||||
|
|
||||||
s101 {
|
s101 {
|
||||||
|
|
Loading…
Reference in New Issue