12 lines
464 B
Groovy
12 lines
464 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"
|
|
}
|