2016-03-05 12:47:43 +00:00
|
|
|
# We're referencing stuff that is unknown to the system
|
2019-10-15 12:54:05 +00:00
|
|
|
#-libraryjar ../unifiednlp-compat/build/classes/java/main
|
2016-03-05 12:47:43 +00:00
|
|
|
-dontwarn java.awt.**
|
|
|
|
-dontwarn javax.annotation.**
|
|
|
|
|
2016-08-27 10:50:34 +00:00
|
|
|
# External libs
|
2016-03-05 12:47:43 +00:00
|
|
|
-dontwarn okio.**
|
|
|
|
-dontwarn com.squareup.okhttp.**
|
|
|
|
-dontwarn org.oscim.tiling.source.OkHttpEngine
|
|
|
|
-dontwarn org.oscim.tiling.source.OkHttpEngine$OkHttpFactory
|
2016-08-27 10:50:34 +00:00
|
|
|
-dontwarn com.caverock.androidsvg.**
|
|
|
|
-dontwarn org.slf4j.**
|
2018-04-25 23:25:14 +00:00
|
|
|
-dontwarn org.codehaus.jackson.**
|
2019-10-25 18:46:31 +00:00
|
|
|
-dontwarn com.android.location.provider.**
|
2016-03-05 12:47:43 +00:00
|
|
|
|
2014-04-23 19:27:33 +00:00
|
|
|
# Disable ProGuard Notes, they won't help here
|
|
|
|
-dontnote
|
|
|
|
|
|
|
|
# Keep dynamically loaded GMS classes
|
2016-04-14 19:51:21 +00:00
|
|
|
-keep public class com.google.android.gms.maps.internal.CreatorImpl { public *; }
|
|
|
|
-keep public class com.google.android.gms.common.security.ProviderInstallerImpl { public *; }
|
|
|
|
-keep public class com.google.android.gms.plus.plusone.PlusOneButtonCreatorImpl { public *; }
|
2016-06-02 21:12:59 +00:00
|
|
|
-keep public class com.google.android.gms.dynamic.IObjectWrapper { public *; }
|
2016-08-14 13:03:22 +00:00
|
|
|
-keep public class com.google.android.gms.chimera.container.DynamiteLoaderImpl { public *; }
|
|
|
|
-keep public class com.google.android.gms.dynamite.descriptors.** { public *; }
|
2016-11-07 21:49:59 +00:00
|
|
|
-keep public class com.google.android.gms.cast.framework.internal.CastDynamiteModuleImpl { public *; }
|
2016-03-05 20:44:58 +00:00
|
|
|
|
|
|
|
# Keep AutoSafeParcelables
|
2016-04-14 19:51:21 +00:00
|
|
|
-keep public class * extends org.microg.safeparcel.AutoSafeParcelable {
|
2016-03-05 20:44:58 +00:00
|
|
|
@org.microg.safeparcel.SafeParceled *;
|
2020-09-27 09:33:02 +00:00
|
|
|
@org.microg.safeparcel.SafeParcelable.Field *;
|
|
|
|
<init>(...);
|
2016-03-05 12:47:43 +00:00
|
|
|
}
|
|
|
|
|
2019-10-15 23:29:20 +00:00
|
|
|
# Keep form data
|
|
|
|
-keepclassmembers class * {
|
|
|
|
@org.microg.gms.common.HttpFormClient$* *;
|
|
|
|
}
|
|
|
|
|
2019-10-25 18:46:31 +00:00
|
|
|
# Keep our stuff
|
|
|
|
-keep class org.microg.** { *; }
|
|
|
|
-keep class com.google.android.gms.** { *; }
|
|
|
|
|
2016-04-14 19:51:21 +00:00
|
|
|
# Keep asInterface method cause it's accessed from SafeParcel
|
|
|
|
-keepattributes InnerClasses
|
|
|
|
-keepclassmembers interface * extends android.os.IInterface {
|
|
|
|
public static class *;
|
|
|
|
}
|
|
|
|
-keep public class * extends android.os.Binder { public static *; }
|
|
|
|
|
2016-03-05 12:47:43 +00:00
|
|
|
# Keep library info
|
2016-04-14 19:51:21 +00:00
|
|
|
-keep class **.BuildConfig { *; }
|
2016-03-05 12:47:43 +00:00
|
|
|
|
|
|
|
# Keep protobuf class builders
|
2016-06-02 21:12:59 +00:00
|
|
|
-keep public class com.squareup.wire.Message
|
2016-03-05 12:47:43 +00:00
|
|
|
-keep public class * extends com.squareup.wire.Message
|
2016-04-14 19:51:21 +00:00
|
|
|
-keep public class * extends com.squareup.wire.Message$Builder { public <init>(...); }
|
2018-04-25 23:25:14 +00:00
|
|
|
|
|
|
|
# Proguard configuration for Jackson 1.x
|
|
|
|
-keepclassmembers class * {
|
|
|
|
@org.codehaus.jackson.annotate.* *;
|
|
|
|
}
|