Last active
June 16, 2017 08:30
-
-
Save TKolbusz/8857ba47ea5c9468146d0a4c052d76c2 to your computer and use it in GitHub Desktop.
Controlling database flow using Room and RxJava2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: ‘kotlin-kapt’ | |
android { | |
--- | |
} | |
dependencies { | |
// RxKotlin and RxAndroid | |
compile "io.reactivex.rxjava2:rxkotlin:2.0.0" | |
compile "io.reactivex.rxjava2:rxandroid:2.0.1" | |
// Room | |
compile "android.arch.persistence.room:runtime:1.0.0-alpha2" | |
compile "android.arch.persistence.room:rxjava2:1.0.0-alpha2" | |
kapt "android.arch.persistence.room:compiler:1.0.0-alpha2" | |
} | |
repositories { | |
jcenter() | |
maven { | |
url "https://maven.google.com" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment