diff options
author | Allan Wang <me@allanwang.ca> | 2019-03-05 18:31:47 -0500 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-03-05 18:31:47 -0500 |
commit | c917dc13dabe7781a097383ae89f2d00f32fffcb (patch) | |
tree | a5a4edb12b6fc002ee76ef175533feb6cd7b7b75 /app/build.gradle | |
parent | 566fcce5b79cfa22b0828d92e33ac4f109564927 (diff) | |
download | frost-c917dc13dabe7781a097383ae89f2d00f32fffcb.tar.gz frost-c917dc13dabe7781a097383ae89f2d00f32fffcb.tar.bz2 frost-c917dc13dabe7781a097383ae89f2d00f32fffcb.zip |
Create initial room models
Diffstat (limited to 'app/build.gradle')
-rw-r--r-- | app/build.gradle | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/build.gradle b/app/build.gradle index 4025568a..4c22ab97 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -26,6 +26,11 @@ android { versionName androidGitVersion.name() multiDexEnabled true testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" + javaCompileOptions { + annotationProcessorOptions { + arguments = ["room.schemaLocation": "$projectDir/src/schemas".toString()] + } + } } applicationVariants.all { variant -> @@ -252,6 +257,11 @@ dependencies { implementation "com.sothree.slidinguppanel:library:${SLIDING_PANEL}" + implementation "androidx.room:room-coroutines:${ROOM}" + implementation "android.arch.persistence.room:runtime:${ROOM}" + kapt "android.arch.persistence.room:compiler:${ROOM}" + testImplementation "androidx.room:room-testing:${ROOM}" + } // Validates code and generates apk |