parent
0809c04aa2
commit
b173877705
|
@ -4,7 +4,7 @@ apply plugin: 'io.spring.convention.dependency-set'
|
||||||
apply plugin: 'io.spring.convention.repository'
|
apply plugin: 'io.spring.convention.repository'
|
||||||
apply plugin: 'java'
|
apply plugin: 'java'
|
||||||
|
|
||||||
asciidoctor {
|
asciidoctorj {
|
||||||
def ghTag = snapshotBuild ? 'master' : project.version
|
def ghTag = snapshotBuild ? 'master' : project.version
|
||||||
def ghUrl = "https://github.com/spring-projects/spring-security/tree/$ghTag"
|
def ghUrl = "https://github.com/spring-projects/spring-security/tree/$ghTag"
|
||||||
attributes 'spring-security-version' : project.version,
|
attributes 'spring-security-version' : project.version,
|
||||||
|
@ -12,9 +12,7 @@ asciidoctor {
|
||||||
revnumber : project.version,
|
revnumber : project.version,
|
||||||
'gh-url': ghUrl,
|
'gh-url': ghUrl,
|
||||||
'gh-samples-url': "$ghUrl/samples"
|
'gh-samples-url': "$ghUrl/samples"
|
||||||
asciidoctorj {
|
attributeProvider resolvedVersions(project.configurations.testCompile)
|
||||||
attributeProvider resolvedVersions(project.configurations.testCompile)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
docsZip {
|
docsZip {
|
||||||
|
|
Loading…
Reference in New Issue