21 lines
481 B
Groovy
21 lines
481 B
Groovy
plugins {
|
|
id 'org.asciidoctor.convert' version '1.5.2'
|
|
}
|
|
|
|
dependencies {
|
|
compile 'org.springframework:spring-webmvc'
|
|
|
|
testCompile project(':spring-restdocs')
|
|
testCompile 'junit:junit'
|
|
testCompile 'org.springframework:spring-test'
|
|
}
|
|
|
|
tasks.findByPath("artifactoryPublish")?.enabled = false
|
|
|
|
asciidoctor {
|
|
sources {
|
|
include 'index.adoc'
|
|
}
|
|
attributes 'revnumber': project.version,
|
|
'branch-or-tag': project.version.endsWith('SNAPSHOT') ? 'master': "v${project.version}"
|
|
} |