From cde610b27de7b91a9acd3c87d61eeb6cf8cdd21c Mon Sep 17 00:00:00 2001 From: Conny Duck Date: Sat, 3 Mar 2018 13:54:58 +0100 Subject: [PATCH] update dependencies, use new scheduleAsync of job library --- app/build.gradle | 18 +++++++----------- .../com/keylesspalace/tusky/BaseActivity.java | 2 +- build.gradle | 2 +- 3 files changed, 9 insertions(+), 13 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index fe13d5ed..aa528a18 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -38,13 +38,12 @@ android { } } -ext.supportLibraryVersion = '27.0.2' +ext.supportLibraryVersion = '27.1.0' dependencies { - implementation('com.mikepenz:materialdrawer:6.0.4@aar') { + implementation('com.mikepenz:materialdrawer:6.0.6@aar') { transitive = true } - debugImplementation 'im.dino:dbinspector:3.4.1@aar' implementation "com.android.support:appcompat-v7:$supportLibraryVersion" implementation "com.android.support:customtabs:$supportLibraryVersion" implementation "com.android.support:recyclerview-v7:$supportLibraryVersion" @@ -54,8 +53,8 @@ dependencies { implementation 'com.squareup.retrofit2:retrofit:2.3.0' implementation 'com.squareup.retrofit2:converter-gson:2.3.0' implementation 'com.squareup.picasso:picasso:2.5.2' - implementation 'com.squareup.okhttp3:okhttp:3.9.1' - implementation 'com.squareup.okhttp3:logging-interceptor:3.9.1' + implementation 'com.squareup.okhttp3:okhttp:3.10.0' + implementation 'com.squareup.okhttp3:logging-interceptor:3.10.0' implementation 'com.jakewharton.picasso:picasso2-okhttp3-downloader:1.1.0' implementation 'com.pkmmte.view:circularimageview:1.1' implementation 'com.github.varunest:sparkbutton:1.0.5' @@ -64,20 +63,17 @@ dependencies { implementation('com.theartofdev.edmodo:android-image-cropper:2.6.0') { exclude group: 'com.android.support' } - implementation 'com.evernote:android-job:1.2.2' + implementation 'com.evernote:android-job:1.2.4' implementation 'com.android.support.constraint:constraint-layout:1.0.2' //room implementation 'android.arch.persistence.room:runtime:1.0.0' kapt 'android.arch.persistence.room:compiler:1.0.0' testImplementation 'junit:junit:4.12' - debugImplementation 'im.dino:dbinspector:3.4.1@aar' - androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version" + + debugImplementation 'im.dino:dbinspector:3.4.1@aar' } -repositories { - mavenCentral() -} \ No newline at end of file diff --git a/app/src/main/java/com/keylesspalace/tusky/BaseActivity.java b/app/src/main/java/com/keylesspalace/tusky/BaseActivity.java index af93a464..d1b8ad32 100644 --- a/app/src/main/java/com/keylesspalace/tusky/BaseActivity.java +++ b/app/src/main/java/com/keylesspalace/tusky/BaseActivity.java @@ -208,6 +208,6 @@ public abstract class BaseActivity extends AppCompatActivity { .setUpdateCurrent(true) .setRequiredNetworkType(JobRequest.NetworkType.CONNECTED) .build() - .schedule(); + .scheduleAsync(); } } diff --git a/build.gradle b/build.gradle index c075cb89..f4722db8 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { - ext.kotlin_version = '1.2.21' + ext.kotlin_version = '1.2.30' repositories { jcenter() google()