|
|
|
@ -56,8 +56,10 @@ test {
|
|
|
|
|
outputs.dir snippetsDir |
|
|
|
|
} |
|
|
|
|
asciidoctor { |
|
|
|
|
if(project.hasProperty("excludeTest")){ |
|
|
|
|
dependsOn test |
|
|
|
|
inputs.dir snippetsDir |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
bootJar { |
|
|
|
@ -68,7 +70,9 @@ bootJar {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
asciidoctor.doFirst { |
|
|
|
|
if(project.hasProperty("excludeTest")) { |
|
|
|
|
delete file('src/main/resources/static/docs') |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
task copyDocument(type: Copy) { |
|
|
|
@ -78,7 +82,9 @@ task copyDocument(type: Copy) {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
build { |
|
|
|
|
if(project.hasProperty("excludeTest")){ |
|
|
|
|
dependsOn copyDocument |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// querydsl |
|
|
|
|