diff options
author | Allan Wang <me@allanwang.ca> | 2019-04-25 15:14:10 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-25 15:14:10 -0700 |
commit | 4f3e44b7b9678dce48e7d322af72429b5f447acc (patch) | |
tree | ff913af0ff20f5d415428ac231372da13b9a6639 /app/build.gradle | |
parent | f0f95295bdb2b853aa6262ec4bed2353ce326eee (diff) | |
parent | 00e04ce269197053a8cd8ae522c95629541181a1 (diff) | |
download | frost-4f3e44b7b9678dce48e7d322af72429b5f447acc.tar.gz frost-4f3e44b7b9678dce48e7d322af72429b5f447acc.tar.bz2 frost-4f3e44b7b9678dce48e7d322af72429b5f447acc.zip |
Merge pull request #1365 from AllanWang/room
Room
Diffstat (limited to 'app/build.gradle')
-rw-r--r-- | app/build.gradle | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/app/build.gradle b/app/build.gradle index 409a109b..472669cc 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -27,6 +27,11 @@ android { versionName androidGitVersion.name() multiDexEnabled true testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" + javaCompileOptions { + annotationProcessorOptions { + arguments = ["room.schemaLocation": "$projectDir/src/schemas".toString()] + } + } } applicationVariants.all { variant -> @@ -174,6 +179,7 @@ dependencies { androidTestImplementation kauDependency.espresso androidTestImplementation kauDependency.testRules androidTestImplementation kauDependency.testRunner + androidTestImplementation "org.jetbrains.kotlin:kotlin-reflect:${KOTLIN}" testImplementation kauDependency.kotlinTest testImplementation "org.jetbrains.kotlin:kotlin-reflect:${KOTLIN}" @@ -200,9 +206,9 @@ dependencies { implementation "androidx.core:core-ktx:${KTX}" -// implementation "org.koin:koin-android:${KOIN}" -// testImplementation "org.koin:koin-test:${KOIN}" -// androidTestImplementation "org.koin:koin-test:${KOIN}" + implementation "org.koin:koin-android:${KOIN}" + testImplementation "org.koin:koin-test:${KOIN}" + androidTestImplementation "org.koin:koin-test:${KOIN}" // androidTestImplementation "io.mockk:mockk:${MOCKK}" @@ -253,6 +259,11 @@ dependencies { implementation "com.sothree.slidinguppanel:library:${SLIDING_PANEL}" + implementation "androidx.room:room-coroutines:${ROOM}" + implementation "androidx.room:room-runtime:${ROOM}" + kapt "androidx.room:room-compiler:${ROOM}" + testImplementation "androidx.room:room-testing:${ROOM}" + } // Validates code and generates apk |