Browse Source

fix : Test 스킵 스크립트 추가 [gradle build -x test]

pull/7/head
lkd9125(이경도) 7 months ago
parent
commit
1463649563
  1. 14
      app/kac-app/build.gradle

14
app/kac-app/build.gradle

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

Loading…
Cancel
Save