Skip to content

Commit 21af60f

Browse files
Update to Junit 5.12.1 (#4903)
1 parent 1add57d commit 21af60f

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

app/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,8 @@ dependencies {
271271

272272
testImplementation(libs.androidx.compose.ui.test)
273273
testImplementation(libs.google.hilt.android.testing)
274+
testImplementation(platform(libs.junit.bom))
275+
testRuntimeOnly(libs.junit.platform.launcher)
274276
testImplementation(libs.junit.junit5)
275277
testImplementation(libs.junit.vintage)
276278
testImplementation(libs.kotlinx.coroutines.test)

authenticator/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ dependencies {
206206

207207
testImplementation(libs.androidx.compose.ui.test)
208208
testImplementation(libs.google.hilt.android.testing)
209+
testImplementation(platform(libs.junit.bom))
210+
testRuntimeOnly(libs.junit.platform.launcher)
209211
testImplementation(libs.junit.junit5)
210212
testImplementation(libs.junit.vintage)
211213
testImplementation(libs.kotlinx.coroutines.test)

authenticatorbridge/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ dependencies {
6666
implementation(libs.kotlinx.coroutines.core)
6767

6868
// Test environment dependencies:
69+
testImplementation(platform(libs.junit.bom))
70+
testRuntimeOnly(libs.junit.platform.launcher)
6971
testImplementation(libs.junit.junit5)
7072
testImplementation(libs.mockk.mockk)
7173
testImplementation(libs.square.turbine)

gradle/libs.versions.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ googleProtoBufPlugin = "0.9.4"
4242
googleServices = "4.4.2"
4343
googleReview = "2.0.2"
4444
hilt = "2.55"
45-
junit5 = "5.11.4"
45+
junit5 = "5.12.1"
4646
jvmTarget = "17"
4747
# kotlin and ksp **must** use compatible versions, do not update either without the other.
4848
kotlin = "2.1.10"
@@ -115,8 +115,10 @@ google-play-review = { module = "com.google.android.play:review", version.ref =
115115
google-protobuf-javalite = { module = "com.google.protobuf:protobuf-javalite", version.ref = "googleProtoBufJava" }
116116
# Included so that Renovate tracks updates since protoc is not referenced directly in `dependency {}` blocks.
117117
google-protobuf-protoc = { module = "com.google.protobuf:protoc", version.ref = "googleProtoBufJava" }
118-
junit-junit5 = { module = "org.junit.jupiter:junit-jupiter", version.ref = "junit5" }
119-
junit-vintage = { module = "org.junit.vintage:junit-vintage-engine", version.ref = "junit5" }
118+
junit-bom = { module = "org.junit:junit-bom", version.ref = "junit5" }
119+
junit-junit5 = { module = "org.junit.jupiter:junit-jupiter" }
120+
junit-platform-launcher = { module = "org.junit.platform:junit-platform-launcher" }
121+
junit-vintage = { module = "org.junit.vintage:junit-vintage-engine" }
120122
kotlinx-collections-immutable = { module = "org.jetbrains.kotlinx:kotlinx-collections-immutable", version.ref = "kotlinxCollectionsImmutable" }
121123
kotlinx-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "kotlinxCoroutines" }
122124
kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "kotlinxCoroutines" }

0 commit comments

Comments
 (0)