From 69b507a6d024d1be4419de18f77586a107adfce8 Mon Sep 17 00:00:00 2001 From: Donghoon Lee Date: Wed, 18 Dec 2024 16:46:00 +0900 Subject: [PATCH] =?UTF-8?q?[BE]=20chore:=20H2=EB=A5=BC=20=ED=85=8C?= =?UTF-8?q?=EC=8A=A4=ED=8A=B8=EC=97=90=EC=84=9C=EB=A7=8C=20=EC=82=AC?= =?UTF-8?q?=EC=9A=A9=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=84=A4=EC=A0=95=20(#1?= =?UTF-8?q?010)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: H2 TestRuntimeOnly 설정, Swagger 의존성 삭제 * chore: 외부 의존성 버전 명시 * chore: 외부 의존성 버전 명시 제거 --- backend/build.gradle | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/backend/build.gradle b/backend/build.gradle index 4981440a7..f5457c003 100644 --- a/backend/build.gradle +++ b/backend/build.gradle @@ -30,26 +30,30 @@ dependencies { implementation 'org.springframework.boot:spring-boot-starter-data-jpa' implementation 'org.springframework.boot:spring-boot-starter-validation' implementation 'org.springframework.boot:spring-boot-starter-cache' - implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.5.0' implementation 'org.springframework.boot:spring-boot-starter-actuator' implementation 'io.micrometer:micrometer-registry-prometheus' implementation 'org.flywaydb:flyway-core' implementation 'org.flywaydb:flyway-mysql' - runtimeOnly 'com.h2database:h2' runtimeOnly 'com.mysql:mysql-connector-j' - annotationProcessor 'org.projectlombok:lombok' + + // ConfigurationProperties annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor' + // Test dependencies + testImplementation 'org.springframework.boot:spring-boot-starter-test' + testRuntimeOnly 'com.h2database:h2' + + // Lombok + annotationProcessor 'org.projectlombok:lombok' testAnnotationProcessor 'org.projectlombok:lombok' testImplementation 'org.projectlombok:lombok' - testImplementation 'org.springframework.boot:spring-boot-starter-test' // RestDocs - asciidoctorExt 'org.springframework.restdocs:spring-restdocs-asciidoctor:3.0.1' - testImplementation 'org.springframework.restdocs:spring-restdocs-mockmvc:3.0.1' - testImplementation 'io.rest-assured:spring-mock-mvc:5.4.0' - testImplementation 'io.rest-assured:rest-assured:5.4.0' + asciidoctorExt 'org.springframework.restdocs:spring-restdocs-asciidoctor' + testImplementation 'org.springframework.restdocs:spring-restdocs-mockmvc' + testImplementation 'io.rest-assured:spring-mock-mvc' + testImplementation 'io.rest-assured:rest-assured' } ext {