mirror of
https://github.com/wismna/DoNext.git
synced 2025-10-03 15:40:14 -04:00
Implementing Room library for database
Creating a repository for abstraction
This commit is contained in:
@@ -10,6 +10,11 @@ android {
|
||||
targetSdkVersion 28
|
||||
versionCode 28
|
||||
versionName "1.7"
|
||||
javaCompileOptions {
|
||||
annotationProcessorOptions {
|
||||
arguments = ["room.schemaLocation": "$projectDir/schemas".toString()]
|
||||
}
|
||||
}
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
@@ -40,7 +45,21 @@ dependencies {
|
||||
implementation 'net.danlew:android.joda:2.9.7'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha2'
|
||||
testImplementation 'junit:junit:4.12'
|
||||
|
||||
// App Center
|
||||
def appCenterSdkVersion = '1.9.0'
|
||||
implementation "com.microsoft.appcenter:appcenter-analytics:${appCenterSdkVersion}"
|
||||
implementation "com.microsoft.appcenter:appcenter-crashes:${appCenterSdkVersion}"
|
||||
|
||||
// Room components
|
||||
def roomVersion = "2.1.0-alpha02"
|
||||
implementation "androidx.room:room-runtime:$roomVersion"
|
||||
annotationProcessor "androidx.room:room-compiler:$roomVersion"
|
||||
testImplementation "androidx.room:room-testing:$roomVersion"
|
||||
|
||||
// Lifecycle components
|
||||
def archLifecycleVersion = '2.0.0'
|
||||
implementation "android.arch.lifecycle:extensions:$archLifecycleVersion"
|
||||
annotationProcessor "android.arch.lifecycle:compiler:$archLifecycleVersion"
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user