Skip to content

Commit 34f6d3b

Browse files
committed
chore: Use version catalog for remaining deps
1 parent 5ebc4e0 commit 34f6d3b

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

app/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,9 @@ dependencies {
160160
debugImplementation(libs.compose.ui.tooling)
161161
debugImplementation(libs.compose.ui.test.manifest)
162162
androidTestImplementation(libs.compose.ui.test.junit4)
163-
implementation("com.google.accompanist:accompanist-pager-indicators:0.36.0")
164-
implementation("com.google.accompanist:accompanist-permissions:0.36.0")
165-
implementation("androidx.constraintlayout:constraintlayout-compose:1.1.1")
163+
implementation(libs.accompanist.pager.indicators)
164+
implementation(libs.accompanist.permissions)
165+
implementation(libs.constraintlayout.compose)
166166

167167
// Compose Navigation
168168
implementation(libs.navigation.compose)

gradle/libs.versions.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
[versions]
2+
accompanistPermissions = "0.36.0"
23
activityCompose = "1.10.1"
34
agp = "8.9.1"
45
appcompat = "1.7.0"
56
barcodeScanning = "17.3.0"
67
bouncyCastle = "1.79"
78
camera = "1.4.2"
89
composeBom = "2025.03.01" # https://developer.android.com/develop/ui/compose/bom/bom-mapping
10+
constraintlayoutCompose = "1.1.1"
911
coreKtx = "1.15.0"
1012
coreSplashscreen = "1.0.1"
1113
datastorePrefs = "1.1.4"
@@ -35,6 +37,8 @@ workRuntimeKtx = "2.10.0"
3537
zxing = "3.5.2"
3638

3739
[libraries]
40+
accompanist-pager-indicators = { module = "com.google.accompanist:accompanist-pager-indicators", version.ref = "accompanistPermissions" }
41+
accompanist-permissions = { module = "com.google.accompanist:accompanist-permissions", version.ref = "accompanistPermissions" }
3842
activity-compose = { module = "androidx.activity:activity-compose", version.ref = "activityCompose" }
3943
appcompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" }
4044
barcode-scanning = { module = "com.google.mlkit:barcode-scanning", version.ref = "barcodeScanning" }
@@ -51,6 +55,7 @@ compose-ui-test-junit4 = { module = "androidx.compose.ui:ui-test-junit4" }
5155
compose-ui-test-manifest = { module = "androidx.compose.ui:ui-test-manifest" }
5256
compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling" }
5357
compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" }
58+
constraintlayout-compose = { module = "androidx.constraintlayout:constraintlayout-compose", version.ref = "constraintlayoutCompose" }
5459
core-ktx = { module = "androidx.core:core-ktx", version.ref = "coreKtx" }
5560
core-splashscreen = { group = "androidx.core", name = "core-splashscreen", version.ref = "coreSplashscreen" }
5661
datastore-preferences = { module = "androidx.datastore:datastore-preferences", version.ref = "datastorePrefs" }

0 commit comments

Comments
 (0)