project config
This commit is contained in:
55
myproguard.cfg
Normal file
55
myproguard.cfg
Normal file
@@ -0,0 +1,55 @@
|
||||
-injars bin/classes
|
||||
|
||||
-libraryjars /home/jeff/src/android/platforms/android-16/android.jar
|
||||
-libraryjars lib/postgresql-9.0-801.jdbc4.jar
|
||||
|
||||
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
|
||||
-optimizationpasses 5
|
||||
-dontusemixedcaseclassnames
|
||||
-dontpreverify
|
||||
-verbose
|
||||
|
||||
|
||||
-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.app.backup.BackupAgentHelper
|
||||
|
||||
-keep public class * extends android.preference.Preference
|
||||
|
||||
-keep public class com.android.vending.licensing.ILicensingService
|
||||
|
||||
-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.app.Activity {
|
||||
public void *(android.view.View);
|
||||
}
|
||||
|
||||
-keep class * extends android.os.Parcelable {
|
||||
public static final android.os.Parcelable$Creator *;
|
||||
}
|
||||
|
||||
# Also keep - Enumerations. Keep the special static methods that are required in
|
||||
# enumeration classes.
|
||||
-keepclassmembers enum * {
|
||||
public static **[] values();
|
||||
public static ** valueOf(java.lang.String);
|
||||
}
|
||||
|
||||
# Keep names - Native method names. Keep all native class/method names.
|
||||
-keepclasseswithmembers,allowshrinking class * {
|
||||
native <methods>;
|
||||
}
|
||||
Reference in New Issue
Block a user