refactor: 하위 모듈 gradle 설정 수정(implementation -> api)

This commit is contained in:
이상진 2025-10-01 10:18:25 +09:00
parent 97c3e1598c
commit 8f0c563d6b
4 changed files with 14 additions and 25 deletions

View File

@ -1,10 +1,9 @@
dependencies {
api("net.ttddyy.observation:datasource-micrometer-spring-boot:1.1.2")
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.20.0")
implementation("net.ttddyy.observation:datasource-micrometer-spring-boot:1.1.2")
implementation(project(":common:utils"))
testImplementation("io.mockk:mockk:1.14.4")
implementation(project(":common:utils"))
}
tasks.named<Jar>("jar") {

View File

@ -7,17 +7,17 @@ plugins {
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
implementation("com.github.f4b6a3:tsid-creator:5.2.6")
api("org.springframework.boot:spring-boot-starter-data-jpa")
api("com.github.f4b6a3:tsid-creator:5.2.6")
implementation(project(":common:utils"))
implementation(project(":common:types"))
testRuntimeOnly("com.h2database:h2")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("io.kotest:kotest-runner-junit5:5.9.1")
testImplementation("io.kotest.extensions:kotest-extensions-spring:1.3.0")
testImplementation("io.mockk:mockk:1.14.4")
implementation(project(":common:utils"))
implementation(project(":common:types"))
}
tasks.named<BootJar>("bootJar") {

View File

@ -7,16 +7,16 @@ plugins {
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.springframework.boot:spring-boot-starter-aop")
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
api("org.springframework.boot:spring-boot-starter-web")
api("org.springframework.boot:spring-boot-starter-aop")
api("com.fasterxml.jackson.module:jackson-module-kotlin")
api(project(":common:log"))
api(project(":common:utils"))
api(project(":common:types"))
testImplementation("io.kotest:kotest-runner-junit5:5.9.1")
testImplementation("io.mockk:mockk:1.14.4")
implementation(project(":common:log"))
implementation(project(":common:utils"))
implementation(project(":common:types"))
}
tasks.named<BootJar>("bootJar") {

View File

@ -5,16 +5,10 @@ plugins {
}
dependencies {
// Spring
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
implementation("org.springframework.boot:spring-boot-starter-validation")
// API docs
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.13")
// DB
implementation("com.github.f4b6a3:tsid-creator:5.2.6")
runtimeOnly("com.h2database:h2")
runtimeOnly("com.mysql:mysql-connector-j")
@ -24,7 +18,6 @@ dependencies {
// Logging
implementation("net.logstash.logback:logstash-logback-encoder:8.1")
implementation("com.github.loki4j:loki-logback-appender:2.0.0")
implementation("net.ttddyy.observation:datasource-micrometer-spring-boot:1.1.1")
// Observability
implementation("org.springframework.boot:spring-boot-starter-actuator")
@ -52,9 +45,6 @@ dependencies {
// submodules
implementation(project(":common:persistence"))
implementation(project(":common:utils"))
implementation(project(":common:types"))
implementation(project(":common:log"))
implementation(project(":common:web"))
}