Last active
February 10, 2018 13:08
-
-
Save Sinarahimi/1114c97e88d6d36930ca0c703878390c to your computer and use it in GitHub Desktop.
dependencies
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
dependencies { | |
... | |
implementation 'com.squareup.okhttp3:logging-interceptor:3.9.1' | |
retrofit2() | |
rx() | |
lifeCycle() | |
room() | |
} | |
private void retrofit2() { | |
dependencies.implementation 'com.squareup.retrofit2:retrofit:2.3.0' | |
dependencies.implementation 'com.squareup.retrofit2:converter-gson:2.3.0' | |
dependencies.implementation 'com.squareup.retrofit2:adapter-rxjava:2.0.2' | |
} | |
private void room() { | |
dependencies.implementation 'android.arch.persistence.room:runtime:1.0.0' | |
dependencies.annotationProcessor 'android.arch.persistence.room:compiler:1.0.0' | |
} | |
private void lifeCycle() { | |
dependencies.implementation 'android.arch.lifecycle:extensions:1.1.0' | |
dependencies.annotationProcessor "android.arch.lifecycle:compiler:1.1.0" | |
} | |
private void rx() { | |
dependencies.implementation 'io.reactivex:rxjava:1.1.6' | |
dependencies.implementation 'io.reactivex:rxandroid:1.2.1' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment