Skip to content

Commit

Permalink
Apply test bundle
Browse files Browse the repository at this point in the history
Signed-off-by: Taeik Lim <[email protected]>
  • Loading branch information
acktsap authored Jan 24, 2025
1 parent 2a59e24 commit 1c51cb8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
5 changes: 4 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ findbugs-jsr305 = "3.0.2"
junit = "5.+"
assertj = "3.+"
mockito = "5.+"
mockito-kotlin = "5.+"
mockk = "1.+"
spring-jdbc = "5.3.21"
h2 = "2.1.214"
Expand All @@ -32,3 +31,7 @@ spring-batch-test = { module = "org.springframework.batch:spring-batch-test", ve
spring-jdbc = { module = "org.springframework:spring-jdbc", version.ref = "spring-jdbc" }
h2 = { module = "com.h2database:h2", version.ref = "h2" }
log4j = { module = "org.apache.logging.log4j:log4j-slf4j-impl", version.ref = "log4j" }

[bundles]
test-java = ["junit", "assertj", "mockito"]
test-kotlin = ["junit", "assertj", "mockk"]
4 changes: 1 addition & 3 deletions spring-batch-plus-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ dependencies {
compileOnly(libs.spring.batch.core)
implementation(libs.slf4j)

testImplementation(libs.junit)
testImplementation(libs.assertj)
testImplementation(libs.mockk)
testImplementation(libs.bundles.test.kotlin)
testImplementation(libs.spring.batch.core)
testImplementation(libs.spring.jdbc)
testImplementation(libs.reactor.core)
Expand Down
4 changes: 1 addition & 3 deletions spring-batch-plus/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ dependencies {
compileOnly(libs.reactor.core)
implementation(libs.slf4j)

testImplementation(libs.junit)
testImplementation(libs.assertj)
testImplementation(libs.mockito)
testImplementation(libs.bundles.test.java)
testImplementation(libs.spring.batch.core)
testImplementation(libs.spring.batch.test)
testImplementation(libs.reactor.core)
Expand Down
4 changes: 1 addition & 3 deletions spring-boot-autoconfigure-batch-plus-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ dependencies {
compileOnly(libs.spring.batch.core)

testImplementation(project(":spring-batch-plus-kotlin"))
testImplementation(libs.junit)
testImplementation(libs.assertj)
testImplementation(libs.mockk)
testImplementation(libs.bundles.test.kotlin)
testImplementation(libs.spring.boot.autoconfigure)
testImplementation(libs.spring.boot.test)
testImplementation(libs.spring.batch.core)
Expand Down

0 comments on commit 1c51cb8

Please sign in to comment.