Merge pull request 'update libs and clean up' (#346) from update-libs into master

Reviewed-on: https://gitea.com/gitnex/GitNex/pulls/346
This commit is contained in:
M M Arif 2020-04-03 06:29:57 +00:00
commit 51c281ca30
2 changed files with 7 additions and 9 deletions

View File

@ -33,7 +33,7 @@ configurations {
dependencies {
def lifecycle_version = "2.2.0"
def markwon_version = "4.2.1"
def markwon_version = '4.3.0'
def fastadapter = "3.3.1"
implementation fileTree(include: ['*.jar'], dir: 'libs')
@ -45,15 +45,15 @@ dependencies {
androidTestImplementation "androidx.test:runner:1.2.0"
androidTestImplementation "androidx.test.espresso:espresso-core:3.2.0"
implementation "com.github.vihtarb:tooltip:0.2.0"
implementation "com.squareup.okhttp3:okhttp:4.4.0"
implementation 'com.squareup.okhttp3:okhttp:4.4.1'
implementation "com.google.code.gson:gson:2.8.6"
implementation "com.squareup.picasso:picasso:2.71828"
implementation "com.amulyakhare:com.amulyakhare.textdrawable:1.0.1"
implementation "com.squareup.retrofit2:retrofit:2.7.1"
implementation "com.squareup.retrofit2:converter-gson:2.7.1"
implementation "com.squareup.retrofit2:converter-scalars:2.7.1"
implementation "com.squareup.okhttp3:logging-interceptor:4.4.0"
implementation "org.ocpsoft.prettytime:prettytime:4.0.3.Final"
implementation 'com.squareup.retrofit2:retrofit:2.8.1'
implementation 'com.squareup.retrofit2:converter-gson:2.8.1'
implementation 'com.squareup.retrofit2:converter-scalars:2.8.1'
implementation 'com.squareup.okhttp3:logging-interceptor:4.4.1'
implementation 'org.ocpsoft.prettytime:prettytime:4.0.4.Final'
implementation "com.vdurmont:emoji-java:5.1.1"
implementation "com.pes.materialcolorpicker:library:1.2.5"
implementation "io.noties.markwon:core:$markwon_version"

View File

@ -2,7 +2,6 @@ package org.mian.gitnex.activities;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.res.Resources;
import android.graphics.drawable.GradientDrawable;
@ -31,7 +30,6 @@ import org.mian.gitnex.models.UserInfo;
import org.mian.gitnex.models.UserTokens;
import org.mian.gitnex.util.AppUtil;
import org.mian.gitnex.util.TinyDB;
import java.net.NoRouteToHostException;
import java.net.URI;
import java.net.URISyntaxException;
import java.nio.charset.StandardCharsets;