diff --git a/data/build.gradle.kts b/data/build.gradle.kts index bbc3ac0..821209c 100644 --- a/data/build.gradle.kts +++ b/data/build.gradle.kts @@ -54,7 +54,7 @@ android { dependencies { api(libs.kotlinx.serialization.json) - testImplementation(libs.robolectric) + testRuntimeOnly(libs.robolectric) testImplementation(libs.junit) testImplementation(libs.androidx.test.ext.junit) } diff --git a/dataproviderdemo/build.gradle.kts b/dataproviderdemo/build.gradle.kts index 029b137..78915a4 100644 --- a/dataproviderdemo/build.gradle.kts +++ b/dataproviderdemo/build.gradle.kts @@ -59,5 +59,4 @@ dependencies { implementation(project(":dataprovider-retrofit")) implementation(libs.androidx.activity) implementation(libs.androidx.lifecycle.runtime) - implementation(libs.androidx.lifecycle.viewmodel) } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index be0b832..22fc96f 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -17,7 +17,6 @@ robolectric = "4.13" androidx-activity = { module = "androidx.activity:activity", version.ref = "androidx-activity" } androidx-annotation = { module = "androidx.annotation:annotation", version.ref = "androidx-annotation" } androidx-lifecycle-runtime = { module = "androidx.lifecycle:lifecycle-runtime", version.ref = "androidx-lifecycle" } -androidx-lifecycle-viewmodel = { module = "androidx.lifecycle:lifecycle-viewmodel", version.ref = "androidx-lifecycle" } androidx-paging-common = { module = "androidx.paging:paging-common", version.ref = "androidx-paging" } androidx-test-ext-junit = { module = "androidx.test.ext:junit", version.ref = "androidx-test-ext-junit" } detekt-formatting = { module = "io.gitlab.arturbosch.detekt:detekt-formatting", version.ref = "detekt" }