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

Commit e5f7b0c

Browse files
authored
Remove unused code and dependencies (#922)
* Remove MaskedCardView. Change-Id: I0c71493d37419559306425c3528308d99ff65658 * Remove unused dependencies. Change-Id: Iffe258e7f664ac84a2df5b11376c62c434aa73ac * Remove Kotlin parcelize. Change-Id: I5cf023fa028f88d9a7d36a6d9958089a32b89b23
1 parent 17ff657 commit e5f7b0c

File tree

4 files changed

+1
-74
lines changed

4 files changed

+1
-74
lines changed

app/build.gradle.kts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
plugins {
1818
id("com.android.application")
1919
id("kotlin-android")
20-
id("kotlin-parcelize")
2120
id("com.google.devtools.ksp")
2221
id("dagger.hilt.android.plugin")
2322
}
@@ -112,13 +111,11 @@ androidComponents {
112111
dependencies {
113112
ksp(libs.androidx.room.compiler)
114113
ksp(libs.hilt.android.compiler)
115-
implementation(libs.androidx.constraintlayout)
116114
implementation(libs.androidx.core.ktx)
117115
implementation(libs.androidx.lifecycle.livedata.ktx)
118116
implementation(libs.androidx.lifecycle.viewmodel.ktx)
119117
implementation(libs.androidx.navigation.compose)
120118
implementation(libs.androidx.paging.compose)
121-
implementation(libs.androidx.paging.runtime.ktx)
122119
implementation(libs.androidx.room.ktx)
123120
implementation(libs.androidx.work.runtime.ktx)
124121
implementation(libs.material)
@@ -131,7 +128,6 @@ dependencies {
131128
implementation(libs.hilt.android)
132129
implementation(libs.hilt.navigation.compose)
133130
implementation(libs.androidx.profileinstaller)
134-
implementation(libs.androidx.tracing.ktx)
135131

136132
// Compose
137133
implementation(platform(libs.androidx.compose.bom))

app/src/main/java/com/google/samples/apps/sunflower/views/MaskedCardView.kt

Lines changed: 0 additions & 63 deletions
This file was deleted.

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ spotless {
3737
target("**/*.kt")
3838
ktlint(libs.versions.ktlint.get()).userData(mapOf("max_line_length" to "100"))
3939
}
40-
}
40+
}

gradle/libs.versions.toml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ composeLatest = "1.4.0-alpha03"
2424
composeBom = "2023.06.01"
2525
compose-compiler = "1.5.3"
2626
constraintLayoutCompose = "1.0.1"
27-
constraintLayout = "2.1.4"
2827
coreTesting = "2.2.0"
2928
coroutines = "1.6.4"
3029
espresso = "3.4.0"
@@ -46,7 +45,6 @@ minSdk = "23"
4645
monitor = "1.6.0"
4746
navigation = "2.5.3"
4847
okhttpLogging = "4.10.0"
49-
paging = "3.1.1"
5048
pagingCompose = "1.0.0-alpha18"
5149
profileInstaller = "1.2.0"
5250
recyclerView = "1.3.0-alpha02"
@@ -56,7 +54,6 @@ runner = "1.0.1"
5654
# @keep
5755
targetSdk = "33"
5856
testExtJunit = "1.1.5"
59-
tracing = "1.1.0"
6057
uiAutomator = "2.2.0"
6158
viewModelCompose = "2.5.1"
6259
work = "2.7.1"
@@ -80,7 +77,6 @@ androidx-compose-ui-test-junit4 = { module = "androidx.compose.ui:ui-test-junit4
8077
androidx-compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling" }
8178
androidx-compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" }
8279
androidx-compose-ui-viewbinding = { module = "androidx.compose.ui:ui-viewbinding" }
83-
androidx-constraintlayout = { module = "androidx.constraintlayout:constraintlayout", version.ref = "constraintLayout" }
8480
androidx-constraintlayout-compose = { module = "androidx.constraintlayout:constraintlayout-compose", version.ref = "constraintLayoutCompose" }
8581
androidx-core-ktx = { module = "androidx.core:core-ktx", version.ref = "ktx" }
8682
androidx-espresso-contrib = { module = "androidx.test.espresso:espresso-contrib", version.ref = "espresso" }
@@ -92,14 +88,12 @@ androidx-lifecycle-viewmodel-ktx = { module = "androidx.lifecycle:lifecycle-view
9288
androidx-monitor = { module = "androidx.test:monitor", version.ref = "monitor" }
9389
androidx-navigation-compose = { module = "androidx.navigation:navigation-compose", version.ref = "navigation" }
9490
androidx-paging-compose = { module = "androidx.paging:paging-compose", version.ref = "pagingCompose" }
95-
androidx-paging-runtime-ktx = { module = "androidx.paging:paging-runtime-ktx", version.ref = "paging" }
9691
androidx-profileinstaller = { module = "androidx.profileinstaller:profileinstaller", version.ref = "profileInstaller" }
9792
androidx-room-compiler = { module = "androidx.room:room-compiler", version.ref = "room" }
9893
androidx-room-ktx = { module = "androidx.room:room-ktx", version.ref = "room" }
9994
androidx-room-runtime = { module = "androidx.room:room-runtime", version.ref = "room" }
10095
androidx-test-ext-junit = { module = "androidx.test.ext:junit", version.ref = "testExtJunit" }
10196
androidx-test-uiautomator = { module = "androidx.test.uiautomator:uiautomator", version.ref = "uiAutomator" }
102-
androidx-tracing-ktx = { module = "androidx.tracing:tracing-ktx", version.ref = "tracing" }
10397
androidx-work-testing = { module = "androidx.work:work-testing", version.ref = "work" }
10498
androidx-work-runtime-ktx = { module = "androidx.work:work-runtime-ktx", version.ref = "work" }
10599
glide = { module = "com.github.bumptech.glide:compose", version.ref = "glide" }

0 commit comments

Comments
 (0)