Add reference documentation for the project and add a docs artifact that contains both the reference documentation and the javadoc. See gh-37
19 lines
347 B
Groovy
19 lines
347 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'
|
|
}
|
|
} |