Skip to content

Commit

Permalink
Feat : rest-docs 의존성 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
kdjun99 committed Feb 4, 2024
1 parent 82523de commit 8813ef5
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
// Swagger
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.3'
// RestDocs
asciidoctorExtensions 'org.springframework.restdocs:spring-restdocs-asciidoctor'
testImplementation 'org.springframework.restdocs:spring-restdocs-mockmvc'

// actuator`
implementation 'org.springframework.boot:spring-boot-starter-actuator'
// cookie
Expand Down Expand Up @@ -100,30 +96,3 @@ test {
outputs.dir snippetsDir
useJUnitPlatform()
}

asciidoctor.doFirst {
delete file('src/main/resources/templates/api_doc.html')
}

asciidoctor {
inputs.dir snippetsDir
dependsOn test
}

task copyDocument(type: Copy) {
dependsOn asciidoctor
from file("build/docs/asciidoc")
into file("src/main/resources/templates")
}

build {
dependsOn copyDocument
}

bootJar {
dependsOn asciidoctor
from ("build/docs/asciidoc") {
into 'src/main/resources/templates'
}
}

0 comments on commit 8813ef5

Please sign in to comment.