Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Commit

Permalink
Remove unused code and dependencies (#922)
Browse files Browse the repository at this point in the history
* Remove MaskedCardView.

Change-Id: I0c71493d37419559306425c3528308d99ff65658

* Remove unused dependencies.

Change-Id: Iffe258e7f664ac84a2df5b11376c62c434aa73ac

* Remove Kotlin parcelize.

Change-Id: I5cf023fa028f88d9a7d36a6d9958089a32b89b23
  • Loading branch information
arriolac committed Oct 17, 2023
1 parent 17ff657 commit e5f7b0c
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 74 deletions.
4 changes: 0 additions & 4 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
plugins {
id("com.android.application")
id("kotlin-android")
id("kotlin-parcelize")
id("com.google.devtools.ksp")
id("dagger.hilt.android.plugin")
}
Expand Down Expand Up @@ -112,13 +111,11 @@ androidComponents {
dependencies {
ksp(libs.androidx.room.compiler)
ksp(libs.hilt.android.compiler)
implementation(libs.androidx.constraintlayout)
implementation(libs.androidx.core.ktx)
implementation(libs.androidx.lifecycle.livedata.ktx)
implementation(libs.androidx.lifecycle.viewmodel.ktx)
implementation(libs.androidx.navigation.compose)
implementation(libs.androidx.paging.compose)
implementation(libs.androidx.paging.runtime.ktx)
implementation(libs.androidx.room.ktx)
implementation(libs.androidx.work.runtime.ktx)
implementation(libs.material)
Expand All @@ -131,7 +128,6 @@ dependencies {
implementation(libs.hilt.android)
implementation(libs.hilt.navigation.compose)
implementation(libs.androidx.profileinstaller)
implementation(libs.androidx.tracing.ktx)

// Compose
implementation(platform(libs.androidx.compose.bom))
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ spotless {
target("**/*.kt")
ktlint(libs.versions.ktlint.get()).userData(mapOf("max_line_length" to "100"))
}
}
}
6 changes: 0 additions & 6 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ composeLatest = "1.4.0-alpha03"
composeBom = "2023.06.01"
compose-compiler = "1.5.3"
constraintLayoutCompose = "1.0.1"
constraintLayout = "2.1.4"
coreTesting = "2.2.0"
coroutines = "1.6.4"
espresso = "3.4.0"
Expand All @@ -46,7 +45,6 @@ minSdk = "23"
monitor = "1.6.0"
navigation = "2.5.3"
okhttpLogging = "4.10.0"
paging = "3.1.1"
pagingCompose = "1.0.0-alpha18"
profileInstaller = "1.2.0"
recyclerView = "1.3.0-alpha02"
Expand All @@ -56,7 +54,6 @@ runner = "1.0.1"
# @keep
targetSdk = "33"
testExtJunit = "1.1.5"
tracing = "1.1.0"
uiAutomator = "2.2.0"
viewModelCompose = "2.5.1"
work = "2.7.1"
Expand All @@ -80,7 +77,6 @@ androidx-compose-ui-test-junit4 = { module = "androidx.compose.ui:ui-test-junit4
androidx-compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling" }
androidx-compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" }
androidx-compose-ui-viewbinding = { module = "androidx.compose.ui:ui-viewbinding" }
androidx-constraintlayout = { module = "androidx.constraintlayout:constraintlayout", version.ref = "constraintLayout" }
androidx-constraintlayout-compose = { module = "androidx.constraintlayout:constraintlayout-compose", version.ref = "constraintLayoutCompose" }
androidx-core-ktx = { module = "androidx.core:core-ktx", version.ref = "ktx" }
androidx-espresso-contrib = { module = "androidx.test.espresso:espresso-contrib", version.ref = "espresso" }
Expand All @@ -92,14 +88,12 @@ androidx-lifecycle-viewmodel-ktx = { module = "androidx.lifecycle:lifecycle-view
androidx-monitor = { module = "androidx.test:monitor", version.ref = "monitor" }
androidx-navigation-compose = { module = "androidx.navigation:navigation-compose", version.ref = "navigation" }
androidx-paging-compose = { module = "androidx.paging:paging-compose", version.ref = "pagingCompose" }
androidx-paging-runtime-ktx = { module = "androidx.paging:paging-runtime-ktx", version.ref = "paging" }
androidx-profileinstaller = { module = "androidx.profileinstaller:profileinstaller", version.ref = "profileInstaller" }
androidx-room-compiler = { module = "androidx.room:room-compiler", version.ref = "room" }
androidx-room-ktx = { module = "androidx.room:room-ktx", version.ref = "room" }
androidx-room-runtime = { module = "androidx.room:room-runtime", version.ref = "room" }
androidx-test-ext-junit = { module = "androidx.test.ext:junit", version.ref = "testExtJunit" }
androidx-test-uiautomator = { module = "androidx.test.uiautomator:uiautomator", version.ref = "uiAutomator" }
androidx-tracing-ktx = { module = "androidx.tracing:tracing-ktx", version.ref = "tracing" }
androidx-work-testing = { module = "androidx.work:work-testing", version.ref = "work" }
androidx-work-runtime-ktx = { module = "androidx.work:work-runtime-ktx", version.ref = "work" }
glide = { module = "com.github.bumptech.glide:compose", version.ref = "glide" }
Expand Down

0 comments on commit e5f7b0c

Please sign in to comment.