diff --git a/app/build.gradle b/app/build.gradle index 2ba099e..758f9cf 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -25,4 +25,8 @@ testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.1' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1' + + // Rx + implementation "io.reactivex.rxjava2:rxjava:$rx_java_version" + implementation "io.reactivex.rxjava2:rxandroid:$rx_android_version" } diff --git a/build.gradle b/build.gradle index e6b32bc..5c69c7d 100644 --- a/build.gradle +++ b/build.gradle @@ -1,14 +1,16 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { - + + ext.rx_java_version = '2.1.6' + ext.rx_android_version = '2.0.1' + repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.0.1' - // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files