Skip to content

Commit

Permalink
Update build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunw9 authored Sep 19, 2023
1 parent 2d0c712 commit 8544ffe
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,24 +50,5 @@ tasks.named('test') {
outputs.dir snippetsDir
}

asciidoctor {
configurations 'asciidoctorExt' // (7)
baseDirFollowsSourceFile() // (8)
inputs.dir snippetsDir // (9)
dependsOn test // (10)
}
asciidoctor.doFirst {
delete file('src/main/resources/static/docs') // (11)
}
task copyDocument(type: Copy) { // (12)
dependsOn asciidoctor
from file("build/docs/asciidoc")
into file("src/main/resources/static/docs")
}

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

0 comments on commit 8544ffe

Please sign in to comment.