diff --git a/app/build.gradle b/app/build.gradle index fe52e34f8..bf0c59a78 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -76,6 +76,11 @@ android { } } +ext { + room_version = '2.2.5' + coroutines_version = '1.3.9' +} + dependencies { implementation 'com.simplemobiletools:commons:5.32.4' implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0' @@ -96,9 +101,14 @@ dependencies { kapt 'com.github.bumptech.glide:compiler:4.10.0' - kapt 'androidx.room:room-compiler:2.2.5' - implementation 'androidx.room:room-runtime:2.2.5' - annotationProcessor 'androidx.room:room-compiler:2.2.5' + implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.2.0' + implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version" + implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines_version" + + kapt "androidx.room:room-compiler:$room_version" + implementation "androidx.room:room-ktx:$room_version" + implementation "androidx.room:room-runtime:$room_version" + annotationProcessor "androidx.room:room-compiler:$room_version" } // Apply the PESDKPlugin