Add room database.

This commit is contained in:
Thomas Andres Gomez 2021-05-11 12:06:13 +02:00
parent 2ad8d5953a
commit 6a0710572a
17 changed files with 362 additions and 4 deletions

View file

@ -1,6 +1,7 @@
plugins {
id 'com.android.application'
id 'kotlin-android'
id 'kotlin-kapt'
id 'org.jetbrains.kotlin.android'
}
@ -102,6 +103,14 @@ dependencies {
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
implementation 'com.google.code.gson:gson:2.8.6'
// Room
implementation "androidx.room:room-runtime:2.3.0"
implementation "androidx.room:room-ktx:2.3.0"
kapt "androidx.room:room-compiler:2.3.0"
// Paging
implementation "androidx.paging:paging-runtime-ktx:3.0.0"
// Test
testImplementation 'junit:junit:4.13.2'
androidTestImplementation "androidx.compose.ui:ui-test-junit4:1.0.0-beta06"