From bbda92a9df47c4cb35ac9d855debc5a2dab5be55 Mon Sep 17 00:00:00 2001 From: Shinokuni Date: Wed, 3 Jul 2024 11:55:54 +0200 Subject: [PATCH] Remove unused dependencies --- api/build.gradle | 3 --- gradle/libs.versions.toml | 6 ++---- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/api/build.gradle b/api/build.gradle index 6123c630..b08bf55c 100644 --- a/api/build.gradle +++ b/api/build.gradle @@ -69,11 +69,8 @@ dependencies { exclude group: 'com.squareup.moshi', module: 'moshi' } - implementation 'com.squareup.retrofit2:adapter-rxjava2:2.9.0' - implementation 'com.squareup.moshi:moshi:1.15.1' - api 'io.reactivex.rxjava2:rxandroid:2.1.1' api 'org.jsoup:jsoup:1.13.1' debugApi 'com.chimerapps.niddler:niddler:1.5.5' diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index ac495b8e..6c4a21d8 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -42,7 +42,6 @@ coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", ve room-runtime = { module = "androidx.room:room-runtime", version.ref = "room" } room-compiler = { module = "androidx.room:room-compiler", version.ref = "room" } room-ktx = { module = "androidx.room:room-ktx", version.ref = "room" } -room-rxjava2 = { module = "androidx.room:room-rxjava2", version.ref = "room" } #TODO remove usage of this room-paging = { module = "androidx.room:room-paging", version.ref = "room" } room-testing = { module = "androidx.room:room-testing", version.ref = "room" } @@ -50,7 +49,6 @@ koin-bom = { module = "io.insert-koin:koin-bom", version.ref = "koin-bom" } koin-core = { module = "io.insert-koin:koin-core" } koin-android = { module = "io.insert-koin:koin-android" } koin-androidx-compose = { module = "io.insert-koin:koin-androidx-compose" } -koin-android-compat = { module = "io.insert-koin:koin-android-compat" } #TODO remove usage of this koin-test = { module = "io.insert-koin:koin-test", version.ref = "koin-bom" } koin-test-junit4 = { module = "io.insert-koin:koin-test-junit4", version.ref = "koin-bom" } @@ -77,7 +75,7 @@ lifecycle = ["lifecycle-viewmodel-ktx", "lifecycle-viewmodel-compose", "lifecycl "lifecyle-runtime-compose"] coil = ["coil-core", "coil-compose"] coroutines = ["coroutines-core", "coroutines-android"] -room = ["room-runtime", "room-ktx", "room-rxjava2", "room-paging"] -koin = ["koin-bom", "koin-core", "koin-android", "koin-androidx-compose", "koin-android-compat"] +room = ["room-runtime", "room-ktx", "room-paging"] +koin = ["koin-bom", "koin-core", "koin-android", "koin-androidx-compose"] kointest = ["koin-test", "koin-test-junit4"] paging = ["paging-runtime", "paging-compose"] \ No newline at end of file