Created
September 11, 2021 01:31
-
-
Save cheese10yun/cbcba917e097112a06d83a0abf007b42 to your computer and use it in GitHub Desktop.
spring-rest-docs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id("org.springframework.boot") version "2.5.2" | |
id("io.spring.dependency-management") version "1.0.11.RELEASE" | |
id("org.asciidoctor.jvm.convert") version "3.1.0" | |
id("java") | |
} | |
group = "com.rest.docs" | |
version = "0.0.1-SNAPSHOT" | |
java.sourceCompatibility = JavaVersion.VERSION_1_8 | |
configurations { | |
compileOnly { | |
extendsFrom(configurations.annotationProcessor.get()) | |
} | |
} | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
implementation("org.springframework.boot:spring-boot-starter-web") | |
implementation("org.springframework.boot:spring-boot-starter-actuator") | |
implementation("org.springframework.boot:spring-boot-starter-validation") | |
implementation("org.springframework.boot:spring-boot-starter-data-jpa") | |
compileOnly("org.projectlombok:lombok") | |
runtimeOnly("com.h2database:h2") | |
annotationProcessor("org.projectlombok:lombok") | |
testImplementation("org.springframework.boot:spring-boot-starter-test") | |
testImplementation("org.springframework.restdocs:spring-restdocs-mockmvc") | |
} | |
tasks.withType<Test> { | |
useJUnitPlatform() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment