Ver código fonte

Release 0.1.4

inorichi 9 anos atrás
pai
commit
110df59197
4 arquivos alterados com 33 adições e 9 exclusões
  1. 1 1
      .github/ISSUE_TEMPLATE.md
  2. 1 1
      README.md
  3. 2 2
      app/build.gradle
  4. 29 5
      app/proguard-rules.pro

+ 1 - 1
.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.
 

+ 1 - 1
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)
 

+ 2 - 2
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()}\""

+ 29 - 5
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 <methods>;
 }
+-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 {
+    <init>(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.* <methods>;
+}
+
+# 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.** { *; }