Skip to content

Commit fceccae

Browse files
authored
Merge pull request #642 from komapper/renovate/junit5-monorepo
Update junit5 monorepo to v5.12.0
2 parents e4e94df + d9fa0da commit fceccae

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ build
22
out
33
.idea
44
.gradle
5+
.kotlin
56
/.sdkmanrc
67
/codegen/src/main/kotlin

build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ subprojects {
5050
testImplementation(kotlin("test"))
5151
if (project !in springBootProjects) {
5252
testImplementation(kotlin("test"))
53+
testImplementation(platform(catalog.junit.bom))
5354
testImplementation(catalog.junit.api)
55+
testRuntimeOnly(catalog.junit.launcher)
5456
testRuntimeOnly(catalog.junit.engine)
5557
}
5658
}

gradle/libs.versions.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
junit = "5.11.4"
2+
junit = "5.12.0"
33
komapper = "5.2.0"
44
kotlin = "2.1.10"
55
ksp = "2.1.10-1.0.31"
@@ -65,8 +65,10 @@ thymeleaf-layout-dialect = { module = "nz.net.ultraq.thymeleaf:thymeleaf-layout-
6565
webjars-jquery = { module = "org.webjars:jquery", version = "3.7.1" }
6666
webjars-locator = { module = "org.webjars:webjars-locator", version = "0.52" }
6767

68-
junit-api = { module = "org.junit.jupiter:junit-jupiter-api", version.ref = "junit" }
69-
junit-engine = { module = "org.junit.jupiter:junit-jupiter-engine", version.ref = "junit" }
68+
junit-bom = { module = "org.junit:junit-bom", version.ref = "junit" }
69+
junit-api = { module = "org.junit.jupiter:junit-jupiter-api" }
70+
junit-engine = { module = "org.junit.jupiter:junit-jupiter-engine" }
71+
junit-launcher = { module = "org.junit.platform:junit-platform-launcher" }
7072
kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" }
7173

7274
[plugins]

0 commit comments

Comments
 (0)