Add Room KTX and coroutine dependencies.

This commit is contained in:
Isira Seneviratne 2020-10-18 17:25:25 +05:30
parent 93a251dbe8
commit 78495f5125

View file

@ -76,6 +76,11 @@ android {
} }
} }
ext {
room_version = '2.2.5'
coroutines_version = '1.3.9'
}
dependencies { dependencies {
implementation 'com.simplemobiletools:commons:5.32.4' implementation 'com.simplemobiletools:commons:5.32.4'
implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0' 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 'com.github.bumptech.glide:compiler:4.10.0'
kapt 'androidx.room:room-compiler:2.2.5' implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.2.0'
implementation 'androidx.room:room-runtime:2.2.5' implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version"
annotationProcessor 'androidx.room:room-compiler:2.2.5' 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 // Apply the PESDKPlugin