From d8e45ce6f79615669cd4d2c7aad5a2f6880999cb Mon Sep 17 00:00:00 2001
From: Taras Smakula <tarassmakula@gmail.com>
Date: Thu, 4 May 2023 18:00:17 +0300
Subject: [PATCH] Add coroutine dependency

---
 app/build.gradle | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/app/build.gradle b/app/build.gradle
index 489d5e991..5f9e7b8c6 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -83,7 +83,6 @@ dependencies {
 
     //Kotlin
     implementation "androidx.core:core-ktx:1.10.0"
-    implementation 'androidx.work:work-runtime-ktx:2.8.1'
 
     //androidx lifecycle
     def lifecycle_version = "2.6.1"
@@ -171,11 +170,16 @@ dependencies {
     def work_version = "2.8.1"
     implementation "androidx.work:work-runtime-ktx:$work_version"
 
+    //Coroutines
+    def coroutines_version = "1.6.4"
+    implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version"
+
     //test
     testImplementation 'junit:junit:4.13.2'
     androidTestImplementation 'androidx.test.ext:junit:1.1.5'
     androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
     androidTestImplementation "androidx.work:work-testing:$work_version"
+    androidTestImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutines_version"
 }
 
 if (getGradle().getStartParameter().getTaskRequests().toString().toLowerCase().contains("gplay")) {
-- 
GitLab