Skip to content

Commit

Permalink
update test dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dsvag committed Nov 26, 2023
1 parent 41e4f8c commit 437757c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ val catalog = extensions.getByType<VersionCatalogsExtension>().named("libs")

dependencies {
val testImplementation by configurations
catalog.findLibrary("junit").ifPresent { testImplementation(it) }
catalog.findLibrary("kotlin-test").ifPresent { testImplementation(it) }
}
3 changes: 1 addition & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
agp = "8.0.2"
coroutines = "1.7.1"
dokka = "1.8.20"
junit = "5.9.3"
kotlin = "1.8.21"
lifecycle = "2.6.1"

Expand All @@ -19,8 +18,8 @@ detekt-gradlePlugin = "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.23.0"
dokka-gradlePlugin = { module = "org.jetbrains.dokka:dokka-gradle-plugin", version.ref = "dokka" }
dokka-kotlinAsJavaPlugin = { module = "org.jetbrains.dokka:kotlin-as-java-plugin", version.ref = "dokka" }
google-material = "com.google.android.material:material:1.9.0"
junit = { module = "org.junit.jupiter:junit-jupiter", version.ref = "junit" }
kotlin-gradlePlugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" }
kotlinx-coroutinesCore = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutines" }
kotlinx-coroutinesTest = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "coroutines" }

Expand Down

0 comments on commit 437757c

Please sign in to comment.