Skip to content

Commit c98fa34

Browse files
committed
Clean defining qr lib in gradle
1 parent f32b4e2 commit c98fa34

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

app/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,11 @@ dependencies {
9393
implementation(libs.gson)
9494
implementation(libs.jsoup)
9595

96+
implementation(libs.qr.zxing.core)
97+
9698
implementation(libs.timber)
9799
debugImplementation(libs.leakcanary.android)
98100

99-
implementation("com.google.zxing:core:3.5.4")
100-
101101
testImplementation(libs.junit)
102102
testImplementation(libs.truth)
103103

gradle/libs.versions.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ targetSdk = "36"
66
minSdk = "23"
77

88
activityCompose = "1.13.0"
9-
composeBom = "2026.03.01"
9+
composeBom = "2026.05.00"
1010
material3 = "1.4.0"
1111
navigation-compose = "2.9.6"
1212

@@ -27,6 +27,8 @@ kotlinx-coroutines = "1.10.2"
2727
gson = "2.10.1"
2828
jsoup = "1.13.1"
2929

30+
zxing-core="3.5.4"
31+
3032
timber = "4.7.1"
3133
ksp = "2.3.4"
3234

@@ -56,7 +58,6 @@ androidx-compose-bom = { group = "androidx.compose", name = "compose-bom", versi
5658
androidx-navigation-compose = { group = "androidx.navigation", name = "navigation-compose", version.ref = "navigation-compose" }
5759
androidx-ui = { group = "androidx.compose.ui", name = "ui" }
5860
androidx-ui-graphics = { group = "androidx.compose.ui", name = "ui-graphics" }
59-
androidx-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling" }
6061
androidx-ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-tooling-preview" }
6162
androidx-material3 = { group = "androidx.compose.material3", name = "material3" }
6263
material3 = { group = "androidx.compose.material3", name = "material3", version.ref = "material3" }
@@ -75,6 +76,8 @@ room-ktx = { module = "androidx.room:room-ktx", version.ref = "room" }
7576
hilt-android = { module = "com.google.dagger:hilt-android", version.ref = "hilt" }
7677
hilt-compiler = { module = "com.google.dagger:hilt-compiler", version.ref = "hilt" }
7778

79+
qr-zxing-core = { module = "com.google.zxing:core", version.ref = "zxing-core" }
80+
7881
junit = { module = "junit:junit", version.ref = "junit" }
7982
androidx-junit = { module = "androidx.test.ext:junit", version.ref = "androidx-junit" }
8083
androidx-core-testing = { module = "androidx.arch.core:core-testing", version.ref = "core-testing" }

0 commit comments

Comments
 (0)