Update links to point to migrated samples

Closes gh-9816
This commit is contained in:
Marcus Da Coregio
2021-06-21 09:56:05 -03:00
committed by Marcus Hert Da Coregio
parent d60981fd59
commit 0aa93b18d6
13 changed files with 14 additions and 21 deletions

View File

@@ -17,7 +17,6 @@ asciidoctor {
idseparator: '-',
doctype: 'book',
'spring-security-version' : project.version,
'download-url' : getDownloadUrl(),
'include-maven-repository' : getMavenRepositoryInclude(),
revnumber : project.version,
'gh-samples-url': ghSamplesUrl,
@@ -31,11 +30,6 @@ ext.spec = copySpec {
}
}
def getDownloadUrl() {
snapshotBuild ? "https://github.com/spring-projects/spring-security/archive/main.zip" : "https://github.com/spring-projects/spring-security/archive/${project.version}.zip"
}
def getMavenRepositoryInclude() {
if(snapshotBuild) {
return "_includes/maven-repository-snapshot.asc"