Skip to content

Commit a75f673

Browse files
author
izaak
committed
Use proper library management
1 parent 2d4ac18 commit a75f673

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

app/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ dependencies {
8585
implementation(libs.barcode.scanning)
8686

8787
//Mediapipe for segmentation (portrait)
88-
implementation("com.google.mediapipe:tasks-vision:latest.release")
89-
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android")
88+
implementation(libs.tasks.vision)
89+
implementation(libs.coroutines)
9090
}
9191

9292

gradle/libs.versions.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ material3version = "1.3.1"
1717
junitJunit = "4.12"
1818
monitor = "1.7.2"
1919
junitKtx = "1.2.1"
20+
mediapipeTaskVision = "0.20230731"
21+
coroutines = "1.10.1"
2022

2123
[libraries]
2224
accompanist-permissions = { module = "com.google.accompanist:accompanist-permissions", version.ref = "accompanistPermissions" }
@@ -38,6 +40,8 @@ coil-compose = { module = "io.coil-kt:coil-compose", version.ref = "coilCompose"
3840
junit-junit = { group = "junit", name = "junit", version.ref = "junitJunit" }
3941
androidx-monitor = { group = "androidx.test", name = "monitor", version.ref = "monitor" }
4042
androidx-junit-ktx = { group = "androidx.test.ext", name = "junit-ktx", version.ref = "junitKtx" }
43+
tasks-vision = { group = "com.google.mediapipe", name = "tasks-vision", version.ref = "mediapipeTaskVision" }
44+
coroutines = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-android", version.ref = "coroutines" }
4145

4246
[plugins]
4347
android-application = { id = "com.android.application", version.ref = "agp" }

0 commit comments

Comments
 (0)