From ae65664610e848171295e3633b7b55cd0400197e Mon Sep 17 00:00:00 2001 From: Sungyong An Date: Sat, 1 Jun 2024 19:13:03 +0900 Subject: [PATCH] Update testing libraries (#15) --- gradle/libs.versions.toml | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index f744f1e..e2a7733 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -12,7 +12,12 @@ kotlin = "1.8.22" coroutines = "1.6.4" coil = "1.3.2" -androidxtest = "1.4.0" +androidx-test-core = "1.5.0" +androidx-test-runner = "1.5.2" +androidx-test-rules = "1.5.0" +junit = "4.13.2" +truth = "1.1.3" +robolectric = "4.9.2" metalava = "0.3.2" vanniktechPublish = "0.25.2" @@ -30,27 +35,21 @@ compose-material-material = { module = "androidx.compose.material:material", ver compose-material-iconsext = { module = "androidx.compose.material:material-icons-extended", version.ref = "compose" } compose-material3-material3 = { module = "androidx.compose.material3:material3", version.ref = "compose-material3" } -metalavaGradle = { module = "me.tylerbwong.gradle.metalava:plugin", version.ref = "metalava" } - kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib", version.ref = "kotlin" } - kotlin-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "coroutines" } -kotlin-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "coroutines" } - -dokka = { module = "org.jetbrains.dokka:dokka-gradle-plugin", version.ref = "dokka" } coil-compose = { module = "io.coil-kt:coil-compose", version.ref = "coil" } androidx-core = "androidx.core:core-ktx:1.8.0" androidx-activity-compose = "androidx.activity:activity-compose:1.7.2" -androidx-test-core = "androidx.test:core-ktx:1.5.0-alpha02" -androidx-test-runner = "androidx.test:runner:1.5.0-alpha04" -androidx-test-rules = { module = "androidx.test:rules", version.ref = "androidxtest" } +androidx-test-core = { module = "androidx.test:core-ktx", version.ref="androidx-test-core" } +androidx-test-runner = { module = "androidx.test:runner", version.ref = "androidx-test-runner" } +androidx-test-rules = { module = "androidx.test:rules", version.ref = "androidx-test-rules" } -junit = "junit:junit:4.13.2" -truth = "com.google.truth:truth:1.1.2" -robolectric = "org.robolectric:robolectric:4.9" +junit = { module = "junit:junit", version.ref = "junit" } +truth = { module = "com.google.truth:truth", version.ref = "truth" } +robolectric = { module = "org.robolectric:robolectric", version.ref = "robolectric" } # Dependencies of the included build-logic android-pluginGradle = { module = "com.android.tools.build:gradle", version.ref = "agp" }