spring-security/docs/manual/spring-security-docs-manual...

18 lines
557 B
Groovy

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"
}
docsZip {
from(project(':spring-security-docs-guides').asciidoctor) {
into 'guides'
}
}