Update dependencies

This commit is contained in:
Moez Bhatti
2017-09-21 14:17:38 -04:00
parent 3450fe2125
commit 5e3f7bbfaa
3 changed files with 7 additions and 9 deletions
+2 -2
View File
@@ -1,13 +1,13 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules. // Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript { buildscript {
ext.kotlin_version = '1.1.3-2' ext.kotlin_version = '1.1.4-3'
repositories { repositories {
maven { url 'https://maven.google.com' } maven { url 'https://maven.google.com' }
jcenter() jcenter()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:3.0.0-beta5' classpath 'com.android.tools.build:gradle:3.0.0-beta6'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "io.realm:realm-gradle-plugin:3.7.0" classpath "io.realm:realm-gradle-plugin:3.7.0"
+4 -4
View File
@@ -34,9 +34,9 @@ dependencies {
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations' exclude group: 'com.android.support', module: 'support-annotations'
}) })
compile "android.arch.lifecycle:extensions:1.0.0-alpha9" compile "android.arch.lifecycle:extensions:1.0.0-alpha9-1"
compile "android.arch.lifecycle:runtime:1.0.0-alpha9" compile "android.arch.lifecycle:runtime:1.0.0"
compile 'com.android.support:appcompat-v7:26.0.0' compile 'com.android.support:appcompat-v7:26.1.0'
compile 'com.android.support.constraint:constraint-layout:1.0.2' compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.bugsnag:bugsnag-android:3.9.0' compile 'com.bugsnag:bugsnag-android:3.9.0'
compile "com.google.dagger:dagger:2.9" compile "com.google.dagger:dagger:2.9"
@@ -48,7 +48,7 @@ dependencies {
compile 'io.reactivex.rxjava2:rxkotlin:2.0.3' compile 'io.reactivex.rxjava2:rxkotlin:2.0.3'
compile 'io.realm:android-adapters:1.3.0' compile 'io.realm:android-adapters:1.3.0'
compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version" compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
kapt "android.arch.lifecycle:compiler:1.0.0-alpha9" kapt "android.arch.lifecycle:compiler:1.0.0-alpha9-1"
kapt "com.google.dagger:dagger-compiler:2.9" kapt "com.google.dagger:dagger-compiler:2.9"
kapt 'io.realm:realm-annotations:3.7.0' kapt 'io.realm:realm-annotations:3.7.0'
kapt 'io.realm:realm-annotations-processor:3.7.0' kapt 'io.realm:realm-annotations-processor:3.7.0'
@@ -50,9 +50,7 @@ class SyncManager(val context: Context, val contacts: ContactRepository) {
realm?.close() realm?.close()
} }
.observeOn(AndroidSchedulers.mainThread()) .observeOn(AndroidSchedulers.mainThread())
.subscribe({ .subscribe { completionListener.invoke() }
completionListener.invoke()
})
} }
} }