Skip to content

Commit

Permalink
Fix: build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
5jisoo committed Jan 20, 2024
1 parent 9a739d7 commit bad0cd7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1,122 deletions.
11 changes: 8 additions & 3 deletions pochak/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,18 @@ asciidoctor {
configurations 'asciidoctorExt'
}

tasks.register('copyApiDocument', Copy) {
tasks.register('copyApiDocument') {
dependsOn asciidoctor
doFirst {
delete file("src/main/resources/static/docs")
}
from asciidoctor.outputDir
into file("src/main/resources/static/docs")
doLast {
copy {
from "${asciidoctor.outputDir}"
println "확인하기 ${asciidoctor.outputDir}"
into 'build/resources/main/static/docs'
}
}
}

build {
Expand Down
Loading

0 comments on commit bad0cd7

Please sign in to comment.