Skip to content

Commit cae5806

Browse files
Update junit5 monorepo (#8701)
* Update junit5 monorepo * Add junit-platform-launch explicit dependency --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Yuri Schimke <[email protected]>
1 parent ba24a49 commit cae5806

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

build.gradle.kts

+2
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,10 @@ subprojects {
194194
if (project.name != "okhttp") {
195195
val testRuntimeOnly: Configuration by configurations.getting
196196
dependencies {
197+
// https://junit.org/junit5/docs/current/user-guide/#running-tests-build-gradle-bom
197198
testRuntimeOnly(rootProject.libs.junit.jupiter.engine)
198199
testRuntimeOnly(rootProject.libs.junit.vintage.engine)
200+
testRuntimeOnly(rootProject.libs.junit.platform.launcher)
199201
}
200202
}
201203

gradle/libs.versions.toml

+5-3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ com-squareup-moshi = "1.15.2"
66
com-squareup-okio = "3.10.2"
77
de-mannodermaus-junit5 = "1.7.0"
88
graalvm = "24.1.1"
9+
junit-platform = "1.12.1"
910
kotlinx-serialization = "1.8.0"
1011
ksp = "2.1.0-1.0.29"
1112
lintGradle = "1.0.0-alpha03"
@@ -14,7 +15,7 @@ org-bouncycastle = "1.80"
1415
org-conscrypt = "2.5.2"
1516
org-jetbrains-coroutines = "1.10.1"
1617
org-jetbrains-kotlin = "2.1.10"
17-
org-junit-jupiter = "5.11.4"
18+
org-junit-jupiter = "5.12.1"
1819
retrofit = "2.11.0"
1920
startupRuntime = "1.2.0"
2021
testcontainers = "1.20.6"
@@ -69,8 +70,9 @@ junit-ktx = "androidx.test.ext:junit-ktx:1.2.1"
6970
junit-jupiter-api = { module = "org.junit.jupiter:junit-jupiter-api", version.ref = "org-junit-jupiter" }
7071
junit-jupiter-engine = { module = "org.junit.jupiter:junit-jupiter-engine", version.ref = "org-junit-jupiter" }
7172
junit-jupiter-params = { module = "org.junit.jupiter:junit-jupiter-params", version.ref = "org-junit-jupiter" }
72-
junit-platform-console = "org.junit.platform:junit-platform-console:1.11.4"
73-
junit-vintage-engine = "org.junit.vintage:junit-vintage-engine:5.11.4"
73+
junit-platform-console = { module = "org.junit.platform:junit-platform-console", version.ref = "junit-platform" }
74+
junit-platform-launcher = { module = "org.junit.platform:junit-platform-launcher", version.ref = "junit-platform" }
75+
junit-vintage-engine = { module = "org.junit.vintage:junit-vintage-engine", version.ref = "org-junit-jupiter" }
7476
junit-pioneer = "org.junit-pioneer:junit-pioneer:1.9.1"
7577
junit5android-core = { module = "de.mannodermaus.junit5:android-test-core", version.ref = "de-mannodermaus-junit5" }
7678
junit5android-runner = { module = "de.mannodermaus.junit5:android-test-runner", version.ref = "de-mannodermaus-junit5" }

0 commit comments

Comments
 (0)