Skip to content

Instantly share code, notes, and snippets.

@SeongUgJung
Last active March 3, 2017 07:54
Show Gist options
  • Save SeongUgJung/318a64d691d52838eea462e9c1050d42 to your computer and use it in GitHub Desktop.
Save SeongUgJung/318a64d691d52838eea462e9c1050d42 to your computer and use it in GitHub Desktop.
add dependencies for rxjava
apply plugin: 'me.tatarka.retrolambda'
android {
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependnecies {
compile 'io.reactivex.rxjava2:rxjava:2.0.+'
compile 'io.reactivex.rxjava2:rxandroid:2.0.+'
compile 'com.squareup.retrofit2:retrofit:2.1.0'
}
buildscript {
repositories {
jcenter()
}
dependencies {
// add this
classpath 'me.tatarka:gradle-retrolambda:3.4.0'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment