Skip to content

Commit

Permalink
chore: spring RestDocs 관련 설정 제거 (#239)
Browse files Browse the repository at this point in the history
* chore: spring RestDocs 관련 설정 제거

* chore: spring RestDocs docs 파일 제거

---------

Co-authored-by: 5uhwann <[email protected]>
  • Loading branch information
Hoya324 and 5uhwann authored Feb 15, 2024
1 parent 825ca3f commit e98453b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 43 deletions.
33 changes: 0 additions & 33 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ plugins {
id 'java'
id 'org.springframework.boot' version '2.7.4'
id 'io.spring.dependency-management' version '1.0.14.RELEASE'
id 'org.asciidoctor.jvm.convert' version '3.3.2'
id 'jacoco'
id "org.sonarqube" version "3.4.0.2513"
id "com.ewerk.gradle.plugins.querydsl" version "1.0.10"
Expand All @@ -13,19 +12,14 @@ version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'

configurations {
compileOnly {
extendsFrom annotationProcessor
}
querydsl.extendsFrom compileClasspath
asciidoctorExt
}

repositories {
mavenCentral()
}

ext {
set('snippetsDir', file("build/generated-snippets"))
set('queryDslVersion', "5.0.0")
}

Expand Down Expand Up @@ -57,25 +51,15 @@ dependencies {

testImplementation 'org.testng:testng:7.9.0'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.restdocs:spring-restdocs-mockmvc'
testImplementation 'org.springframework.security:spring-security-test'
testImplementation 'org.testcontainers:junit-jupiter'
testImplementation 'org.testcontainers:testcontainers:1.19.0'
testImplementation 'org.testcontainers:mysql:1.19.0'
testImplementation 'org.testcontainers:junit-jupiter:1.13.0'

asciidoctorExt 'org.springframework.restdocs:spring-restdocs-asciidoctor'

}


tasks.named('asciidoctor') {
inputs.dir snippetsDir
dependsOn test
}

tasks.named('test') {
outputs.dir snippetsDir
useJUnitPlatform()
finalizedBy 'jacocoTestReport'
}
Expand Down Expand Up @@ -108,16 +92,6 @@ sonarqube {
}
}

asciidoctor {
inputs.dir snippetsDir
configurations 'asciidoctorExt'
sources {
include("**/index.adoc")
}
baseDirFollowsSourceFile()
dependsOn test
}

jar {
enabled = false
}
Expand All @@ -136,10 +110,3 @@ sourceSets {
compileQuerydsl {
options.annotationProcessorPath = configurations.querydsl
}

bootJar {
dependsOn asciidoctor
from("${asciidoctor.outputDir}/html5") {
into 'static/docs'
}
}
10 changes: 0 additions & 10 deletions src/docs/asciidoc/index.adoc

This file was deleted.

0 comments on commit e98453b

Please sign in to comment.