diff --git a/build.gradle.kts b/build.gradle.kts index 328ba27..42bfdc5 100755 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -58,6 +58,7 @@ subprojects { val jacksonVersion by extra { "2.12.2" } val springBootVersion by extra { "3.0.2" } + val springVersion by extra { "6.0.4" } val springRestDocsVersion by extra { "3.0.0" } val junitVersion by extra { "5.4.2" } diff --git a/restdocs-api-spec/build.gradle.kts b/restdocs-api-spec/build.gradle.kts index 51b20b7..f10f0f3 100755 --- a/restdocs-api-spec/build.gradle.kts +++ b/restdocs-api-spec/build.gradle.kts @@ -9,16 +9,24 @@ repositories { } val jacksonVersion: String by extra +val springVersion: String by extra val springBootVersion: String by extra val springRestDocsVersion: String by extra val junitVersion: String by extra + dependencies { + + implementation(kotlin("stdlib-jdk8")) implementation(kotlin("reflect")) implementation("org.springframework.restdocs:spring-restdocs-core:$springRestDocsVersion") - implementation("org.springframework.boot:spring-boot-starter-web:$springBootVersion") + + implementation("org.springframework:spring-web:$springVersion") + implementation("org.springframework:spring-context:$springVersion") + implementation("jakarta.servlet:jakarta.servlet-api:6.0.0") + implementation("org.springframework.boot:spring-boot-starter-validation:$springBootVersion") implementation("com.fasterxml.jackson.core:jackson-databind:$jacksonVersion") implementation("com.fasterxml.jackson.module:jackson-module-kotlin:$jacksonVersion") @@ -26,6 +34,8 @@ dependencies { testImplementation("org.springframework.boot:spring-boot-starter-test:$springBootVersion") { exclude("junit") } + testImplementation("org.springframework.boot:spring-boot-starter-web:$springBootVersion") + testImplementation("org.junit.jupiter:junit-jupiter-engine:$junitVersion") testImplementation("org.junit-pioneer:junit-pioneer:0.2.2") testImplementation("org.springframework.boot:spring-boot-starter-hateoas:$springBootVersion")