You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
700 B
24 lines
700 B
apply plugin: 'io.spring.convention.docs' |
|
|
|
asciidoctor { |
|
def ghTag = snapshotBuild ? 'master' : project.version |
|
def ghUrl = "https://github.com/spring-projects/spring-security/tree/$ghTag" |
|
attributes 'spring-security-version' : project.version, |
|
'spring-version' : project(':spring-security-core').dependencyManagement.managedVersions['org.springframework:spring-core'], |
|
revnumber : project.version, |
|
'gh-url': ghUrl, |
|
'gh-samples-url': "$ghUrl/samples" |
|
} |
|
|
|
remotes { |
|
docs { |
|
retryCount = 5 // retry 5 times (default is 0) |
|
retryWaitSec = 10 // wait 10 seconds between retries (default is 0) |
|
} |
|
} |
|
|
|
docsZip { |
|
from(project(':spring-security-docs-guides').asciidoctor) { |
|
into 'guides' |
|
} |
|
}
|
|
|