Skip to content

Commit e550198

Browse files
committed
Added Glance dependencies, bumped up dependency versions in libs.versions.toml, and removed unused dependencies.
1 parent a13fddf commit e550198

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

app/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,11 @@ dependencies {
8484
implementation(libs.androidx.core.ktx)
8585
implementation(libs.androidx.core.splashscreen)
8686
implementation(libs.androidx.lifecycle.runtime.ktx)
87-
implementation(libs.material)
8887
implementation(libs.androidx.navigation.compose)
8988
implementation(libs.androidx.security.crypto.ktx)
9089
implementation(libs.androidx.work)
90+
implementation(libs.bundles.glance)
91+
implementation(libs.material)
9192
implementation(libs.room.runtime)
9293
implementation(libs.room.ktx)
9394
ksp(libs.room.compiler)

gradle/libs.versions.toml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[versions]
22
activity-compose = "1.10.1"
3-
agp = "8.11.1"
3+
agp = "8.12.0"
44
annotation = "1.9.1"
55
appcompat = "1.7.1"
66
assert-k = "0.28.1"
@@ -16,6 +16,7 @@ desugar-jdk-libs = "2.1.5"
1616
detekt = "1.23.8"
1717
detektCompose = "0.4.26"
1818
espresso-core = "3.7.0"
19+
glance = "1.1.1"
1920
junit = "4.13.2"
2021
junit5 = "5.13.4"
2122
junit5-compose = "1.8.0"
@@ -58,6 +59,8 @@ material = { group = "com.google.android.material", name = "material", version.r
5859
# AndroidX Libraries
5960
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "core-ktx" }
6061
androidx-core-splashscreen = { module = "androidx.core:core-splashscreen", version.ref = "core-splashscreen" }
62+
androidx-glance-appwidget = { module = "androidx.glance:glance-appwidget", version.ref = "glance" }
63+
androidx-glance-material3 = { module = "androidx.glance:glance-material3", version.ref = "glance" }
6164
androidx-lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "lifecycle-runtime-ktx" }
6265
androidx-navigation-compose = { module = "androidx.navigation:navigation-compose", version.ref = "navigation-compose" }
6366
androidx-security-crypto-ktx = { module = "androidx.security:security-crypto-ktx", version.ref = "security-crypto-ktx" }
@@ -78,11 +81,9 @@ androidx-lifecycle-viewmodel-compose = { module = "androidx.lifecycle:lifecycle-
7881
androidx-material-icons-extended = { module = "androidx.compose.material:material-icons-extended", version.ref = "material-icons-extended" }
7982

8083
# 3rd Party Libraries
81-
agp = { module = "com.android.tools.build:gradle", version.ref = "agp" }
8284
coil-compose = { module = "io.coil-kt:coil-compose", version.ref = "coil-compose" }
8385
desugar-jdk-libs = { module = "com.android.tools:desugar_jdk_libs", version.ref = "desugar-jdk-libs" }
8486
detekt-compose = { group = "io.nlopez.compose.rules", name = "detekt", version.ref = "detektCompose"}
85-
kgp = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
8687
koin-android-workmanager = { group = "io.insert-koin", name = "koin-androidx-workmanager", version.ref = "koin" }
8788
koin-android = { group = "io.insert-koin", name = "koin-android", version.ref = "koin" }
8889
koin-core = { group = "io.insert-koin", name = "koin-core", version.ref = "koin" }
@@ -147,6 +148,10 @@ compose-debug = [
147148
"androidx-compose-ui-tooling",
148149
"androidx-compose-ui-test-manifest",
149150
]
151+
glance = [
152+
"androidx-glance-appwidget",
153+
"androidx-glance-material3"
154+
]
150155
koin = [
151156
"koin-core",
152157
"koin-android",

0 commit comments

Comments
 (0)