add some proguard rules for keeping line numbers

This commit is contained in:
tibbi 2017-06-14 23:11:13 +02:00
parent a65426499e
commit e60e3e043e

View File

@ -1,21 +1,7 @@
# 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 *;
#}
-dontnote android.net.http.*
-dontnote org.apache.http.**
-keep class com.simplemobiletools.** { *; }
-dontwarn com.simplemobiletools.**
-renamesourcefileattribute SourceFile
-keepattributes SourceFile, LineNumberTable