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