2016-03-05 12:47:43 +00:00
|
|
|
# We use ProGuard for optimizations, obfuscation is for those who have sth to hide
|
|
|
|
-dontobfuscate
|
|
|
|
-optimizations !code/allocation/variable
|
|
|
|
|
|
|
|
# We're referencing stuff that is unknown to the system
|
|
|
|
-libraryjar ../unifiednlp-compat/build/classes/main
|
|
|
|
-dontwarn java.awt.**
|
|
|
|
-dontwarn javax.annotation.**
|
|
|
|
|
|
|
|
# OkIO, OkHttp
|
|
|
|
-dontwarn okio.**
|
|
|
|
-dontwarn com.squareup.okhttp.**
|
|
|
|
-dontwarn org.oscim.tiling.source.OkHttpEngine
|
|
|
|
-dontwarn org.oscim.tiling.source.OkHttpEngine$OkHttpFactory
|
|
|
|
|
2014-04-23 19:27:33 +00:00
|
|
|
# Disable ProGuard Notes, they won't help here
|
|
|
|
-dontnote
|
|
|
|
|
|
|
|
# Keep dynamically loaded GMS classes
|
|
|
|
-keep public class com.google.android.gms.maps.internal.CreatorImpl
|
2014-08-22 20:08:44 +00:00
|
|
|
-keep public class com.google.android.gms.common.security.ProviderInstallerImpl
|
2016-03-05 12:47:43 +00:00
|
|
|
-keep public class com.google.android.gms.plus.plusone.PlusOneButtonCreatorImpl
|
2014-08-22 20:08:44 +00:00
|
|
|
|
|
|
|
-keepclassmembers class com.google.android.gms.common.security.ProviderInstallerImpl {
|
2016-03-05 20:44:58 +00:00
|
|
|
public *;
|
|
|
|
}
|
|
|
|
|
|
|
|
# Keep AutoSafeParcelables
|
|
|
|
-keep public class * extends org.microg.safeparcel.AutoSafeParcelable
|
|
|
|
-keepclassmembers public class * extends org.microg.safeparcel.AutoSafeParcelable {
|
|
|
|
@org.microg.safeparcel.SafeParceled *;
|
2016-03-05 12:47:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# Keep library info
|
|
|
|
-keep class **.BuildConfig
|
|
|
|
-keepclassmembers class **.BuildConfig { *; }
|
|
|
|
|
|
|
|
# Keep protobuf class builders
|
|
|
|
-keep public class * extends com.squareup.wire.Message
|
|
|
|
-keep public class * extends com.squareup.wire.Message$Builder
|
|
|
|
-keepclassmembers class * extends com.squareup.wire.Message$Builder { public <init>(...); }
|