Skip to content

Commit

Permalink
🔥 Remove unused dependencies
Browse files Browse the repository at this point in the history
Some dependencies are no longer needed in the app's build.gradle since
the :shared module is responsible for connecting everything together.
Also, some Compose dependencies were removed from the dependencies file
to clean-up.
  • Loading branch information
igorescodro committed Oct 3, 2023
1 parent 7142c44 commit b8e6609
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 35 deletions.
28 changes: 1 addition & 27 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ plugins {
id("com.android.application")
id("kotlin-android")
id("com.escodro.kotlin-quality")
id("kotlin-parcelize")
id("com.mikepenz.aboutlibraries.plugin")
}

Expand Down Expand Up @@ -103,40 +102,15 @@ android {
}

dependencies {
implementation(projects.libraries.core)
implementation(projects.libraries.splitInstall)
implementation(projects.libraries.designsystem)
implementation(projects.libraries.navigation)
implementation(projects.libraries.coroutines)
implementation(projects.data.local)
implementation(projects.data.datastore)
implementation(projects.data.repository)
implementation(projects.features.task)
implementation(projects.features.alarm)
implementation(projects.features.category)
implementation(projects.features.preference)
implementation(projects.features.search)
implementation(projects.features.glance)

implementation(projects.domain)
implementation(projects.shared)

implementation(platform(libs.compose.bom))

implementation(libs.logcat)
implementation(libs.compose.navigation)
implementation(libs.androidx.activity)
implementation(libs.compose.activity)
implementation(libs.accompanist.material)
implementation(libs.androidx.playcore)
implementation(libs.koin.android)
implementation(libs.moko.resources.core)

implementation(libs.compose.windowsize)

implementation(libs.bundles.compose)
implementation(libs.kotlinx.collections.immutable)
implementation(libs.kotlinx.datetime)
implementation(libs.koin.core)

androidTestUtil(libs.test.orchestrator)

Expand Down
6 changes: 1 addition & 5 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<resources xmlns:tools="http://schemas.android.com/tools">

<!-- AppTopBar -->
<string name="home_title_tasks">Tasks</string>
<string name="home_title_search">Search</string>
<string name="home_title_categories">Categories</string>
<string name="home_title_settings">More</string>
<string name="app_name" translatable="false">Alkaa</string>

<!-- Suppress `UnusedResources` due to some bug on Dynamic Features tags -->
<string name="dynamic_feature_title_tracker" translatable="false" tools:ignore="UnusedResources">Task Tracker</string>
Expand Down
3 changes: 0 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,12 @@ compose_bom = { group = "androidx.compose", name = "compose-bom", version.ref =
compose_ui = { module = "androidx.compose.ui:ui" }
compose_toolingpreview = { module = "androidx.compose.ui:ui-tooling-preview" }
compose_icons = { module = "androidx.compose.material:material-icons-extended" }
compose_navigation = { module = "androidx.navigation:navigation-compose" }
compose_viewmodel = { module = "androidx.lifecycle:lifecycle-viewmodel-compose" }
compose_activity = { module = "androidx.activity:activity-compose" }
compose_material3 = { module = "androidx.compose.material3:material3" }
compose_uitest = { module = "androidx.compose.ui:ui-test" }
compose_junit4 = { module = "androidx.compose.ui:ui-test-junit4" }
compose_manifest = { module = "androidx.compose.ui:ui-test-manifest" }
compose_windowsize = { module = "androidx.compose.material3:material3-window-size-class" }

#Koin
koin_core = { module = "io.insert-koin:koin-core", version.ref = "koin_core" }
Expand All @@ -144,7 +142,6 @@ koin_compose_jb = { module = "io.insert-koin:koin-compose", version.ref = "koin_

# Accompanist
accompanist_permission = { module = "com.google.accompanist:accompanist-permissions", version.ref = "accompanist" }
accompanist_material = { module = "com.google.accompanist:accompanist-navigation-material", version.ref = "accompanist" }

# SQLDelight
sqldelight_driver = { module = "app.cash.sqldelight:android-driver", version.ref = "sqldelight" }
Expand Down

0 comments on commit b8e6609

Please sign in to comment.