Skip to content

Commit

Permalink
centralize the kotlin-test dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
frett committed Sep 29, 2023
1 parent 3e61f1d commit 58c41eb
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 6 deletions.
3 changes: 2 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ kotlin-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-te
kotlin-gradlePlugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
kotlin-kover-gradlePlugin = { module = "org.jetbrains.kotlinx:kover-gradle-plugin", version.ref = "kotlinKover" }
kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib", version.ref = "kotlin" }
kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" }
ktlint-gradle = { module = "org.jlleitschuh.gradle:ktlint-gradle", version.ref = "ktlintGradle" }
leakcanary = "com.squareup.leakcanary:leakcanary-android:2.12"
lottie = { module = "com.airbnb.android:lottie", version.ref = "lottie" }
Expand Down Expand Up @@ -211,7 +212,7 @@ androidx-compose = ["androidx-compose-runtime", "androidx-compose-ui", "androidx
androidx-compose-debug = ["androidx-compose-ui-test-manifest", "androidx-compose-ui-tooling"]
androidx-compose-testing = ["androidx-compose-ui-test"]
common = ["kotlin-stdlib", "timber"]
test-framework = ["junit", "androidx-test-junit", "mockk", "robolectric"]
test-framework = ["junit", "kotlin-test", "androidx-test-junit", "mockk", "robolectric"]

[plugins]
firebase-appdistribution = { id = "com.google.firebase.appdistribution", version = "4.0.0" }
Expand Down
1 change: 0 additions & 1 deletion library/account/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ dependencies {
ksp(libs.dagger.compiler)
ksp(libs.hilt.compiler)

testImplementation(kotlin("test"))
testImplementation(libs.kotlin.coroutines.test)
testImplementation(libs.turbine)
}
1 change: 0 additions & 1 deletion library/analytics/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,5 @@ dependencies {
ksp(libs.dagger.compiler)
ksp(libs.hilt.compiler)

testImplementation(kotlin("test"))
testImplementation(libs.kotlin.coroutines.test)
}
1 change: 0 additions & 1 deletion library/db/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ dependencies {
ksp(libs.dagger.compiler)
ksp(libs.hilt.compiler)

testImplementation(kotlin("test"))
testImplementation(libs.androidx.room.testing)
testImplementation(libs.kotlin.coroutines.test)
testImplementation(libs.turbine)
Expand Down
1 change: 0 additions & 1 deletion library/user-data/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ dependencies {
ksp(libs.dagger.compiler)
ksp(libs.hilt.compiler)

testImplementation(kotlin("test"))
testImplementation(libs.kotlin.coroutines.test)
testImplementation(libs.turbine)
}
1 change: 0 additions & 1 deletion ui/base-tool/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ dependencies {
kapt(libs.hilt.compiler)

testImplementation(kotlin("reflect"))
testImplementation(kotlin("test"))
testImplementation(libs.androidx.arch.core.testing)
testImplementation(libs.androidx.lifecycle.runtime.testing)
testImplementation(libs.kotlin.coroutines.test)
Expand Down

0 comments on commit 58c41eb

Please sign in to comment.