phonebill/kos-mock/build.gradle
2025-09-09 01:12:14 +09:00

54 lines
1.7 KiB
Groovy

// 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 파일 이름 설정
jar {
archiveBaseName = 'kos-mock-service'
archiveVersion = version
}