Last active
March 3, 2017 07:54
-
-
Save SeongUgJung/318a64d691d52838eea462e9c1050d42 to your computer and use it in GitHub Desktop.
add dependencies for rxjava
This file contains hidden or 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: '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' | |
} |
This file contains hidden or 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
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