From 110df5919750b6989200ecbe2ae0fa4b4e74f9c4 Mon Sep 17 00:00:00 2001 From: inorichi Date: Sun, 21 Feb 2016 15:59:07 +0100 Subject: [PATCH] Release 0.1.4 --- .github/ISSUE_TEMPLATE.md | 2 +- README.md | 2 +- app/build.gradle | 4 ++-- app/proguard-rules.pro | 34 +++++++++++++++++++++++++++++----- 4 files changed, 33 insertions(+), 9 deletions(-) diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 93a99bbf78..67d1c22f95 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,4 +1,4 @@ -**Please read https://github.com/inorichi/tachiyomi/blob/master/CONTRIBUTING.md before posting** +**Please read https://github.com/inorichi/tachiyomi/blob/master/.github/CONTRIBUTING.md before posting** Remove line above and describe your issue here. Fill out version below. diff --git a/README.md b/README.md index ddd1cab512..171ec70112 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![stable release](https://img.shields.io/badge/release-v0.1.3-blue.svg)](https://github.com/inorichi/tachiyomi/releases) +[![stable release](https://img.shields.io/badge/release-v0.1.4-blue.svg)](https://github.com/inorichi/tachiyomi/releases) [![fdroid release](https://img.shields.io/badge/release-F--Droid-blue.svg)](https://f-droid.org/repository/browse/?fdid=eu.kanade.tachiyomi) [![latest debug build](https://img.shields.io/badge/debug-latest%20build-blue.svg)](http://tachiyomi.kanade.eu/latest/app-debug.apk) diff --git a/app/build.gradle b/app/build.gradle index c549dc39cb..3c59b64b89 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -42,8 +42,8 @@ android { minSdkVersion 16 targetSdkVersion 23 testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" - versionCode 4 - versionName "0.1.3" + versionCode 5 + versionName "0.1.4" buildConfigField "String", "COMMIT_COUNT", "\"${getCommitCount()}\"" buildConfigField "String", "COMMIT_SHA", "\"${getGitSha()}\"" diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 7b74ead4cc..b75c022d13 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -39,14 +39,17 @@ } ## GreenRobot EventBus specific rules ## -# https://github.com/greenrobot/EventBus/blob/master/HOWTO.md#proguard-configuration +# http://greenrobot.org/eventbus/documentation/proguard/ +-keepattributes *Annotation* -keepclassmembers class ** { - public void onEvent*(***); + @org.greenrobot.eventbus.Subscribe ; } +-keep enum org.greenrobot.eventbus.ThreadMode { *; } -# Don't warn for missing support classes --dontwarn de.greenrobot.event.util.*$Support --dontwarn de.greenrobot.event.util.*$SupportManagerFragment +# Only required if you use AsyncExecutor +-keepclassmembers class * extends org.greenrobot.eventbus.util.ThrowableFailureEvent { + (java.lang.Throwable); +} # Glide specific rules # # https://github.com/bumptech/glide @@ -73,6 +76,27 @@ rx.internal.util.atomic.LinkedQueueNode consumerNode; } +# Retrofit 1.X + +-keep class com.squareup.okhttp.** { *; } +-keep class retrofit.** { *; } +-keep interface com.squareup.okhttp.** { *; } + +-dontwarn com.squareup.okhttp.** +-dontwarn okio.** +-dontwarn retrofit.** +-dontwarn rx.** + +-keepclasseswithmembers class * { + @retrofit.http.* ; +} + +# If in your rest service interface you use methods with Callback argument. +-keepattributes Exceptions + +# If your rest service methods throw custom exceptions, because you've defined an ErrorHandler. +-keepattributes Signature + # AppCombat -keep public class android.support.v7.widget.** { *; } -keep public class android.support.v7.internal.widget.** { *; }