Skip to content

Commit e3dce20

Browse files
authored
chore: Fix dependency issue (#211)
It replaces the version catalog references for JUnit with direct dependency declarations and removes the corresponding entries from the `libs.versions.toml` file to avoid issues with the Android app lib.versions file
1 parent eca5011 commit e3dce20

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed
Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
# This file was generated by the Gradle 'init' task.
22
# https://docs.gradle.org/current/userguide/platforms.html#sub::toml-dependencies-format
33

4-
[versions]
5-
junit-jupiter = "5.13.4"
6-
7-
[libraries]
8-
junit-bom = { module = "org.junit:junit-bom", version.ref = "junit-jupiter" }
9-
junit-jupiter = { module = "org.junit.jupiter:junit-jupiter" }
10-
junit-platform-launcher = { module = "org.junit.platform:junit-platform-launcher" }
11-
124
[plugins]
135
kotlin-android = { id = "org.jetbrains.kotlin.android", version = "2.1.20" }

sdk/@launchdarkly/observability-android/lib/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ dependencies {
3939
implementation("io.opentelemetry.android.instrumentation:crash:0.11.0-alpha")
4040

4141
// Use JUnit Jupiter for testing.
42-
testImplementation(platform(libs.junit.bom))
43-
testImplementation(libs.junit.jupiter)
44-
testRuntimeOnly(libs.junit.platform.launcher)
42+
testImplementation(platform("org.junit:junit-bom:5.13.4"))
43+
testImplementation("org.junit.jupiter:junit-jupiter")
44+
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
4545

4646
// MockK for mocking in Kotlin tests
4747
testImplementation("io.mockk:mockk:1.14.5")

0 commit comments

Comments
 (0)