Initiate RxJava 1 => RxJava 2 migration framework
@@ -72,12 +72,16 @@ android {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
+ debug {
+ multiDexEnabled true // TODO Remove after full migration to RxJava 2
+ }
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
+ exclude 'META-INF/rxjava.properties' // TODO Remove after full migration to RxJava 2
}
lintOptions {
@@ -114,6 +118,11 @@ dependencies {
compile 'io.reactivex:rxandroid:1.2.1'
compile 'com.trello:rxlifecycle:1.0'
compile 'com.trello:rxlifecycle-android:1.0'
+ compile 'com.github.akarnokd:rxjava2-interop:0.9.3'
+ compile 'io.reactivex.rxjava2:rxandroid:2.0.1'
+ compile 'io.reactivex.rxjava2:rxjava:2.0.7'
+ compile 'com.trello.rxlifecycle2:rxlifecycle:2.0.1'
+ compile 'com.trello.rxlifecycle2:rxlifecycle-android:2.0.1'
compile 'com.bugsnag:bugsnag-android:3.2.7'
compile 'org.roboguice:roboguice:2.0'
