From 0c9c3c69160e91a3182c4d733f4d32f5c1a60db9 Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 14 Jun 2017 22:59:07 +0200 Subject: [PATCH] add some proguard rules for keeping line numbers --- app/proguard-rules.pro | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 19c98963..ce313c9c 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -1,21 +1,3 @@ -# Add project specific ProGuard rules here. -# By default, the flags in this file are appended to flags specified -# in $ANDROID_HOME/tools/proguard/proguard-android.txt -# You can edit the include path and order by changing the proguardFiles -# directive in build.gradle. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# Add any project specific keep options here: - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} - # Custom serializable -keepclassmembers class * implements java.io.Serializable { static final long serialVersionUID; @@ -32,3 +14,6 @@ @com.squareup.otto.Subscribe public *; @com.squareup.otto.Produce public *; } + +-renamesourcefileattribute SourceFile +-keepattributes SourceFile, LineNumberTable