// kos-mock 모듈 // 루트 build.gradle의 subprojects 블록에서 공통 설정 적용됨 configurations { compileOnly { extendsFrom annotationProcessor } } dependencies { // Spring Boot implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.springframework.boot:spring-boot-starter-validation' implementation 'org.springframework.boot:spring-boot-starter-actuator' implementation 'org.springframework.boot:spring-boot-starter-cache' implementation 'org.springframework.boot:spring-boot-starter-data-redis' implementation 'org.springframework.boot:spring-boot-starter-data-jpa' // Database (Mock 서비스용 H2) runtimeOnly 'com.h2database:h2' // Swagger/OpenAPI implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.3.0' // JSON Processing implementation 'com.fasterxml.jackson.core:jackson-databind' implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310' // Commons implementation project(':common') // Lombok compileOnly 'org.projectlombok:lombok' annotationProcessor 'org.projectlombok:lombok' // Test testImplementation 'org.springframework.boot:spring-boot-starter-test' testImplementation 'org.springframework.boot:spring-boot-testcontainers' testImplementation 'org.testcontainers:junit-jupiter' testImplementation 'org.testcontainers:testcontainers:1.19.3' // Configuration Processor annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor' } tasks.named('test') { useJUnitPlatform() } // JAR 파일 이름 설정 (다른 모듈에서 참조할 수 있도록 enabled = true) jar { archiveBaseName = 'kos-mock-service' archiveVersion = version enabled = true } bootJar { archiveFileName = 'kos-mock.jar' }