From 3e38c7223c89d18b55f732980f2ff53d3b31b2cf Mon Sep 17 00:00:00 2001 From: Jacques Foucry Date: Mon, 7 Mar 2022 18:18:55 +0100 Subject: [PATCH] Add Room dependencies --- app/build.gradle | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index cc3eb2b..cdd6735 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -102,6 +102,7 @@ sourceSets { } } dependencies { + def room_version = "2.4.2" implementation fileTree(include: ['*.jar'], dir: 'libs') testImplementation 'junit:junit:4.13.2' @@ -109,9 +110,13 @@ dependencies { implementation 'androidx.recyclerview:recyclerview:1.2.1' implementation 'com.google.android.material:material:1.5.0' implementation 'androidx.legacy:legacy-support-v4:1.0.0' - + implementation "androidx:room:room-runtime:$room_version" implementation 'com.journeyapps:zxing-android-embedded:4.3.0' implementation 'androidx.core:core:1.7.0' + implementation "androidx:room:room-runtime:$room_version" + implementation "androidx.room:room-rxjava3:$room_version" + testImplementation "androidx.room:room-testing:$room_version" + coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' }