Skip to content

Instantly share code, notes, and snippets.

@tunitowen
Created May 19, 2017 07:54
Show Gist options
  • Save tunitowen/f1db8b48e85c0a6c679a8d33b09e20d3 to your computer and use it in GitHub Desktop.
Save tunitowen/f1db8b48e85c0a6c679a8d33b09e20d3 to your computer and use it in GitHub Desktop.
Room-GettingStarted-Gradle
apply plugin: 'kotlin-kapt'
android {
...
}
dependencies {
...
// Room
compile 'android.arch.persistence.room:runtime:1.0.0-alpha1'
compile 'android.arch.persistence.room:rxjava2:1.0.0-alpha1'
kapt "android.arch.persistence.room:compiler:1.0.0-alpha1"
// RXJava
compile 'io.reactivex.rxjava2:rxjava:2.1.0'
compile 'io.reactivex.rxjava2:rxandroid:2.0.1'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment