Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
alstn113 committed Jan 14, 2025
1 parent 54089d1 commit 6c6f67b
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -81,27 +81,18 @@ dependencies {

test {
useJUnitPlatform()
delete snippetsDir // generated-snippets 디렉토리 삭제
outputs.dir snippetsDir
}

asciidoctor.doFirst {
delete file("src/main/resources/static/docs") // docs 디렉토리 삭제
}

asciidoctor {
inputs.dir snippetsDir
configurations 'asciidoctorExt'
dependsOn test
baseDirFollowsSourceFile()
}

tasks.register('copyDocument', Copy) {
dependsOn asciidoctor
from file("build/docs/asciidoc")
into file("src/main/resources/static/docs")
}

bootJar {
dependsOn copyDocument
dependsOn asciidoctor
from ("${asciidoctor.outputDir}/html5") {
into 'static/docs'
}
}

0 comments on commit 6c6f67b

Please sign in to comment.