Skip to content

Commit

Permalink
Use proper library management
Browse files Browse the repository at this point in the history
  • Loading branch information
izaak committed Jan 27, 2025
1 parent 2d4ac18 commit a75f673
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ dependencies {
implementation(libs.barcode.scanning)

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


Expand Down
4 changes: 4 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ material3version = "1.3.1"
junitJunit = "4.12"
monitor = "1.7.2"
junitKtx = "1.2.1"
mediapipeTaskVision = "0.20230731"
coroutines = "1.10.1"

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

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

0 comments on commit a75f673

Please sign in to comment.