From db02a0f145e8aaeb27333c0226ea14a9e159c890 Mon Sep 17 00:00:00 2001 From: Mariotaku Lee Date: Wed, 17 Feb 2016 21:37:08 +0800 Subject: [PATCH] switching to gradle 2.11 don't crash while deadlock detected --- gradle/wrapper/gradle-wrapper.properties | 4 ++-- .../api/twitter/util/TwitterConverterFactory.java | 9 ++++++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 5e0c28c32..9cfe2974d 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Sun Nov 22 23:26:08 CST 2015 +#Wed Feb 17 21:33:36 CST 2016 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-2.9-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-2.11-all.zip diff --git a/twidere/src/main/java/org/mariotaku/twidere/api/twitter/util/TwitterConverterFactory.java b/twidere/src/main/java/org/mariotaku/twidere/api/twitter/util/TwitterConverterFactory.java index b27a6987d..672ec4f1a 100644 --- a/twidere/src/main/java/org/mariotaku/twidere/api/twitter/util/TwitterConverterFactory.java +++ b/twidere/src/main/java/org/mariotaku/twidere/api/twitter/util/TwitterConverterFactory.java @@ -31,10 +31,12 @@ import com.fasterxml.jackson.core.JsonParseException; import org.mariotaku.restfu.RestConverter; import org.mariotaku.restfu.http.HttpResponse; import org.mariotaku.restfu.http.mime.Body; +import org.mariotaku.twidere.BuildConfig; import org.mariotaku.twidere.api.twitter.TwitterException; import org.mariotaku.twidere.api.twitter.auth.OAuthToken; import org.mariotaku.twidere.api.twitter.model.ResponseCode; import org.mariotaku.twidere.api.twitter.model.TwitterResponse; +import org.mariotaku.twidere.util.BugReporter; import java.io.IOException; import java.lang.reflect.Type; @@ -104,7 +106,12 @@ public class TwitterConverterFactory extends RestConverter.SimpleFactory