generated from pricelees/issue-pr-template
refactor: 모든 모듈의 dependencies 정리 및 jar 설정 지정
This commit is contained in:
parent
33406fbc93
commit
152367cafb
@ -1,11 +0,0 @@
|
|||||||
plugins {
|
|
||||||
id("org.springframework.boot")
|
|
||||||
kotlin("plugin.spring")
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
|
||||||
implementation("org.springframework.boot:spring-boot-starter-web")
|
|
||||||
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
|
|
||||||
|
|
||||||
testImplementation("io.kotest:kotest-runner-junit5:5.9.1")
|
|
||||||
}
|
|
||||||
@ -1,15 +1,12 @@
|
|||||||
plugins {
|
|
||||||
id("org.springframework.boot")
|
|
||||||
kotlin("plugin.spring")
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation("org.springframework.boot:spring-boot-starter-web")
|
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.20.0")
|
||||||
implementation("org.springframework.boot:spring-boot-starter-aop")
|
implementation("net.ttddyy.observation:datasource-micrometer-spring-boot:1.1.2")
|
||||||
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
|
|
||||||
implementation("net.ttddyy.observation:datasource-micrometer-spring-boot:1.1.1")
|
|
||||||
|
|
||||||
testImplementation("io.mockk:mockk:1.14.4")
|
testImplementation("io.mockk:mockk:1.14.4")
|
||||||
|
|
||||||
implementation(project(":common:utils"))
|
implementation(project(":common:utils"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.named<Jar>("jar") {
|
||||||
|
enabled = true
|
||||||
|
}
|
||||||
|
|||||||
@ -1,3 +1,6 @@
|
|||||||
|
import org.gradle.kotlin.dsl.named
|
||||||
|
import org.springframework.boot.gradle.tasks.bundling.BootJar
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("org.springframework.boot")
|
id("org.springframework.boot")
|
||||||
kotlin("plugin.spring")
|
kotlin("plugin.spring")
|
||||||
@ -15,3 +18,11 @@ dependencies {
|
|||||||
|
|
||||||
implementation(project(":common:utils"))
|
implementation(project(":common:utils"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.named<BootJar>("bootJar") {
|
||||||
|
enabled = false
|
||||||
|
}
|
||||||
|
|
||||||
|
tasks.named<Jar>("jar") {
|
||||||
|
enabled = true
|
||||||
|
}
|
||||||
3
common/types/build.gradle.kts
Normal file
3
common/types/build.gradle.kts
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
tasks.named<Jar>("jar") {
|
||||||
|
enabled = true
|
||||||
|
}
|
||||||
@ -1,5 +1,7 @@
|
|||||||
dependencies {
|
dependencies {
|
||||||
implementation("org.slf4j:slf4j-api:2.0.17")
|
implementation("org.slf4j:slf4j-api:2.0.17")
|
||||||
|
}
|
||||||
testImplementation("ch.qos.logback:logback-classic:1.5.18")
|
|
||||||
|
tasks.named<Jar>("jar") {
|
||||||
|
enabled = true
|
||||||
}
|
}
|
||||||
28
common/web/build.gradle.kts
Normal file
28
common/web/build.gradle.kts
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
import org.gradle.kotlin.dsl.named
|
||||||
|
import org.springframework.boot.gradle.tasks.bundling.BootJar
|
||||||
|
|
||||||
|
plugins {
|
||||||
|
id("org.springframework.boot")
|
||||||
|
kotlin("plugin.spring")
|
||||||
|
}
|
||||||
|
|
||||||
|
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")
|
||||||
|
|
||||||
|
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") {
|
||||||
|
enabled = false
|
||||||
|
}
|
||||||
|
|
||||||
|
tasks.named<Jar>("jar") {
|
||||||
|
enabled = true
|
||||||
|
}
|
||||||
@ -11,7 +11,7 @@ dependencies {
|
|||||||
implementation("org.springframework.boot:spring-boot-starter-validation")
|
implementation("org.springframework.boot:spring-boot-starter-validation")
|
||||||
|
|
||||||
// API docs
|
// API docs
|
||||||
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.9")
|
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.13")
|
||||||
|
|
||||||
// DB
|
// DB
|
||||||
implementation("com.github.f4b6a3:tsid-creator:5.2.6")
|
implementation("com.github.f4b6a3:tsid-creator:5.2.6")
|
||||||
@ -22,7 +22,6 @@ dependencies {
|
|||||||
implementation("io.jsonwebtoken:jjwt:0.12.6")
|
implementation("io.jsonwebtoken:jjwt:0.12.6")
|
||||||
|
|
||||||
// Logging
|
// Logging
|
||||||
implementation("io.github.oshai:kotlin-logging-jvm:7.0.3")
|
|
||||||
implementation("net.logstash.logback:logstash-logback-encoder:8.1")
|
implementation("net.logstash.logback:logstash-logback-encoder:8.1")
|
||||||
implementation("com.github.loki4j:loki-logback-appender:2.0.0")
|
implementation("com.github.loki4j:loki-logback-appender:2.0.0")
|
||||||
implementation("net.ttddyy.observation:datasource-micrometer-spring-boot:1.1.1")
|
implementation("net.ttddyy.observation:datasource-micrometer-spring-boot:1.1.1")
|
||||||
@ -35,7 +34,6 @@ dependencies {
|
|||||||
|
|
||||||
// Kotlin
|
// Kotlin
|
||||||
implementation("org.jetbrains.kotlin:kotlin-reflect")
|
implementation("org.jetbrains.kotlin:kotlin-reflect")
|
||||||
implementation("io.github.oshai:kotlin-logging-jvm:7.0.3")
|
|
||||||
|
|
||||||
// Test
|
// Test
|
||||||
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
||||||
@ -53,13 +51,13 @@ dependencies {
|
|||||||
implementation("org.apache.poi:poi-ooxml:5.2.3")
|
implementation("org.apache.poi:poi-ooxml:5.2.3")
|
||||||
|
|
||||||
// submodules
|
// submodules
|
||||||
implementation(project(":common:config"))
|
|
||||||
implementation(project(":common:persistence"))
|
implementation(project(":common:persistence"))
|
||||||
implementation(project(":common:utils"))
|
implementation(project(":common:utils"))
|
||||||
implementation(project(":common:types"))
|
implementation(project(":common:types"))
|
||||||
implementation(project(":common:log"))
|
implementation(project(":common:log"))
|
||||||
|
implementation(project(":common:web"))
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.jar {
|
tasks.named<Jar>("jar") {
|
||||||
enabled = false
|
enabled = false
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user