Skip to content

Commit a2bfb8e

Browse files
committed
모듈 의존성 수정
1 parent 5d65806 commit a2bfb8e

File tree

3 files changed

+10
-26
lines changed

3 files changed

+10
-26
lines changed

banking/build.gradle.kts

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +0,0 @@
1-
plugins {
2-
id("java")
3-
}
4-
5-
group = "io.github.gunkim"
6-
version = "2023.12.03"
7-
8-
repositories {
9-
mavenCentral()
10-
}
11-
12-
dependencies {
13-
testImplementation(platform("org.junit:junit-bom:5.10.0"))
14-
testImplementation("org.junit.jupiter:junit-jupiter")
15-
testImplementation("org.assertj:assertj-core:3.25.3")
16-
}
17-
18-
tasks.test {
19-
useJUnitPlatform()
20-
}

build.gradle.kts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ val groupName: String by project
66
val projectVersion: String by project
77

88
plugins {
9+
java
910
kotlin("jvm")
1011
id("org.jlleitschuh.gradle.ktlint")
1112
}
@@ -20,13 +21,18 @@ allprojects {
2021
}
2122

2223
subprojects {
24+
apply(plugin = "java")
2325
apply(plugin = "kotlin")
2426
apply(plugin = "org.jlleitschuh.gradle.ktlint")
2527

2628
tasks {
2729
withType<KotlinCompile> {
2830
kotlinOptions.jvmTarget = jvmVersion
2931
}
32+
withType<JavaCompile> {
33+
sourceCompatibility = jvmVersion
34+
targetCompatibility = jvmVersion
35+
}
3036
test {
3137
useJUnitPlatform()
3238
}
@@ -36,5 +42,9 @@ subprojects {
3642
}
3743
dependencies {
3844
testImplementation("io.kotest:kotest-runner-junit5:5.6.1")
45+
testImplementation(platform("org.junit:junit-bom:5.11.3"))
46+
testImplementation("org.junit.jupiter:junit-jupiter")
47+
testImplementation("org.mockito:mockito-core:5.14.2")
48+
testImplementation("org.assertj:assertj-core:3.26.3")
3949
}
4050
}

number-baseball/build.gradle.kts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +0,0 @@
1-
dependencies {
2-
testImplementation(platform("org.junit:junit-bom:5.11.3"))
3-
testImplementation("org.junit.jupiter:junit-jupiter")
4-
testImplementation("org.mockito:mockito-core:5.14.2")
5-
testImplementation("org.assertj:assertj-core:3.26.3")
6-
}

0 commit comments

Comments
 (0)