Created
August 30, 2016 07:28
-
-
Save progress44/505ebba80f12625a949fa3bfef028adc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-injars /opt/android/extras/google/google_play_services/libproject/google-play-services_lib/libs/google-play-services.jar | |
-outjars google-play-services-light.jar | |
-libraryjars /opt/android/extras/android/support/v4/android-support-v4.jar | |
-libraryjars /opt/android/extras/android/support/v7/mediarouter/libs/android-support-v7-mediarouter.jar | |
-libraryjars /opt/android/platforms/android-23/android.jar | |
-libraryjars /opt/android/platforms/android-10/android.jar | |
-dontoptimize | |
-dontobfuscate | |
-dontwarn com.google.**.R | |
-dontwarn com.google.**.R$* | |
-dontnote | |
-keep class * extends java.util.ListResourceBundle { | |
protected java.lang.Object[][] getContents(); | |
} | |
# Keep SafeParcelable value, needed for reflection. This is required to support backwards | |
# compatibility of some classes. | |
-keep public class com.google.android.gms.common.internal.safeparcel.SafeParcelable { | |
public static final *** NULL; | |
} | |
# Keep the names of classes/members we need for client functionality. | |
-keep @interface com.google.android.gms.common.annotation.KeepName | |
-keepnames @com.google.android.gms.common.annotation.KeepName class * | |
-keepclassmembernames class * { | |
@com.google.android.gms.common.annotation.KeepName *; | |
} | |
# Needed for Parcelable/SafeParcelable Creators to not get stripped | |
-keepnames class * implements android.os.Parcelable { | |
public static final ** CREATOR; | |
} | |
# Needed when building against pre-Marshmallow SDK. | |
-dontwarn android.security.NetworkSecurityPolicy | |
# Keep metadata about included modules. | |
-keep public class com.google.android.gms.dynamite.descriptors.** { | |
public <fields>; | |
} | |
# Keep the implementation of the flags api for google-play-services-flags | |
-keep public class com.google.android.gms.flags.impl.FlagProviderImpl { | |
public <fields>; public <methods>; | |
} | |
# Add the Ads | |
-keep public class com.google.android.gms.ads.** { | |
public protected *; | |
} | |
# Add the analytics | |
-keep public class com.google.android.gms.analytics.** { | |
public protected *; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment