mirror of https://github.com/tasks/tasks
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
2.6 KiB
Prolog
64 lines
2.6 KiB
Prolog
-dontobfuscate
|
|
|
|
-keep class com.rey.material.widget.Slider
|
|
-dontwarn com.rey.material.**
|
|
|
|
# remove logging statements
|
|
-assumenosideeffects class timber.log.Timber* {
|
|
public static *** v(...);
|
|
public static *** d(...);
|
|
public static *** i(...);
|
|
}
|
|
|
|
# https://code.google.com/p/android/issues/detail?id=78293
|
|
-keep public class android.support.v7.widget.** { *; }
|
|
-keep public class android.support.v7.internal.widget.** { *; }
|
|
-keep public class android.support.v7.internal.view.menu.** { *; }
|
|
-keep public class * extends android.support.v4.view.ActionProvider {
|
|
public <init>(android.content.Context);
|
|
}
|
|
|
|
# google-rfc-2445-20110304
|
|
-dontwarn com.google.ical.compat.jodatime.**
|
|
|
|
# https://github.com/JakeWharton/butterknife/blob/581666a28022796fdd62caaf3420e621215abfda/butterknife/proguard-rules.txt
|
|
-keep public class * implements butterknife.Unbinder { public <init>(**, android.view.View); }
|
|
-keep class butterknife.*
|
|
-keepclasseswithmembernames class * { @butterknife.* <methods>; }
|
|
-keepclasseswithmembernames class * { @butterknife.* <fields>; }
|
|
|
|
# guava
|
|
-dontwarn sun.misc.Unsafe
|
|
-dontwarn java.lang.ClassValue
|
|
-dontwarn javax.annotation.**
|
|
-dontwarn javax.inject.**
|
|
-dontwarn com.google.j2objc.annotations.**
|
|
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
|
|
-dontwarn com.google.errorprone.annotations.CanIgnoreReturnValue
|
|
-dontwarn com.google.errorprone.annotations.concurrent.LazyInit
|
|
-dontwarn com.google.errorprone.annotations.ForOverride
|
|
|
|
# https://github.com/square/okhttp/blob/0b74bba08805c28f6aede626cf06f213ef6480f2/README.md
|
|
-dontwarn okhttp3.**
|
|
-dontwarn okio.**
|
|
-dontwarn javax.annotation.**
|
|
-dontwarn org.conscrypt.**
|
|
# A resource is loaded with a relative path so the package of this class must be preserved.
|
|
-keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase
|
|
|
|
# https://gitlab.com/bitfireAT/davdroid/blob/9fc3921b3293e19bd7be7bfc3f24d799ed2446bc/app/proguard-rules.txt
|
|
-dontwarn aQute.**
|
|
-dontwarn groovy.** # Groovy-based ContentBuilder not used
|
|
-dontwarn javax.cache.** # no JCache support in Android
|
|
-dontwarn net.fortuna.ical4j.model.**
|
|
-dontwarn org.codehaus.groovy.**
|
|
-dontwarn org.apache.log4j.** # ignore warnings from log4j dependency
|
|
-keep class net.fortuna.ical4j.** { *; } # keep all model classes (properties/factories, created at runtime)
|
|
-keep class org.threeten.bp.** { *; } # keep ThreeTen (for time zone processing)
|
|
-keep class at.bitfire.** { *; } # all DAVdroid code is required
|
|
|
|
# https://developer.amazon.com/docs/in-app-purchasing/iap-obfuscate-the-code.html#proguard
|
|
-dontwarn com.amazon.**
|
|
-keep class com.amazon.** {*;}
|
|
-keepattributes *Annotation*
|