From f1f3096207feed1e947b804f4952a2bc240f945c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Muller?= Date: Thu, 29 Aug 2024 19:58:11 +0200 Subject: [PATCH] Cleanup dependencies --- data/build.gradle.kts | 2 +- dataproviderdemo/build.gradle.kts | 1 - gradle/libs.versions.toml | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) 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" }