android-calculatorpp/app/proguard.cfg

110 lines
2.9 KiB
INI
Raw Normal View History

2012-10-10 14:28:18 -04:00
-target 1.6
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontpreverify
-repackageclasses ''
-allowaccessmodification
-optimizations !code/simplification/arithmetic
2016-04-20 06:28:44 -04:00
-renamesourcefileattribute SourceFile
-keepattributes SourceFile,LineNumberTable,*Annotation*
2012-10-10 14:28:18 -04:00
-keep public class * extends android.app.Activity
-keep public class * extends android.app.Application
-keep public class * extends android.app.Service
-keep public class * extends android.content.BroadcastReceiver
-keep public class * extends android.content.ContentProvider
-keep public class * extends android.view.View {
public <init>(android.content.Context);
public <init>(android.content.Context, android.util.AttributeSet);
public <init>(android.content.Context, android.util.AttributeSet, int);
public void set*(...);
}
-keepclasseswithmembers class * {
public <init>(android.content.Context, android.util.AttributeSet);
}
-keepclasseswithmembers class * {
public <init>(android.content.Context, android.util.AttributeSet, int);
}
-keepclassmembers class * extends android.content.Context {
public void *(android.view.View);
public void *(android.view.MenuItem);
}
-keepclassmembers class * implements android.os.Parcelable {
static android.os.Parcelable$Creator CREATOR;
}
-keepclassmembers class **.R$* {
public static <fields>;
}
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}
2016-03-27 15:14:37 -04:00
-keep @org.simpleframework.xml.Root class * {
2013-06-14 16:31:49 -04:00
*;
2012-10-10 14:28:18 -04:00
}
-dontwarn javax.xml.stream.**
-dontwarn com.bea.xml.stream.**
-dontwarn sun.misc.Unsafe
-dontwarn android.annotation.TargetApi
-dontwarn org.solovyev.common.math.visualisation.**
-dontwarn org.solovyev.common.math.graph.**
-dontwarn org.solovyev.common.math.algorithms.**
-dontwarn org.solovyev.common.drawing.**
-dontwarn org.joda.**
-dontwarn jscl.mathml.**
2016-03-02 03:27:21 -05:00
-dontwarn com.google.common.**
2013-09-20 14:16:01 -04:00
-dontwarn com.google.ads.**
-dontwarn com.google.android.gms.internal.**
-dontwarn com.google.android.gms.common.internal.**
2016-03-01 18:06:09 -05:00
-dontwarn com.google.android.gms.common.GooglePlayServicesUtil
2012-10-10 14:28:18 -04:00
2016-01-07 11:15:54 -05:00
-keep class com.squareup.leakcanary.** { *; }
-dontwarn com.squareup.leakcanary.**
2012-10-10 14:28:18 -04:00
-keep class org.simpleframework.xml.** { *; }
2016-03-27 15:46:33 -04:00
## JAVAX UNITS
-keep class javax.measure.** { *; }
-keepnames class javax.measure.** { *; }
-keepclassmembers class javax.measure.** { *; }
2016-01-15 07:58:45 -05:00
## LOGS
2012-11-18 08:59:39 -05:00
-assumenosideeffects class android.util.Log {
public static int v(...);
public static int d(...);
public static int i(...);
public static int w(...);
public static int e(...);
}
2012-10-10 14:28:18 -04:00
2016-01-15 07:58:45 -05:00
## ASSERTIONS
-assumenosideeffects class org.solovyev.android.Check {
2016-03-01 18:06:09 -05:00
public static *;
}
-assumenosideeffects class org.solovyev.android.plotter.Check {
public static *;
2016-01-15 07:58:45 -05:00
}
## OTTO BUS
-keepattributes *Annotation*
-keepclassmembers class ** {
@com.squareup.otto.Subscribe public *;
@com.squareup.otto.Produce public *;
2023-09-15 04:54:15 -04:00
}
-dontwarn com.google.protobuf.*