mirror of
https://github.com/TeamVanced/VancedMicroG
synced 2024-11-19 02:29:25 +01:00
Ensure ProGuard does not "optimize" away our code
This commit is contained in:
parent
2c5c30bdde
commit
cfc90b45bd
@ -1,7 +1,3 @@
|
|||||||
# 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
|
# We're referencing stuff that is unknown to the system
|
||||||
#-libraryjar ../unifiednlp-compat/build/classes/java/main
|
#-libraryjar ../unifiednlp-compat/build/classes/java/main
|
||||||
-dontwarn java.awt.**
|
-dontwarn java.awt.**
|
||||||
@ -15,6 +11,7 @@
|
|||||||
-dontwarn com.caverock.androidsvg.**
|
-dontwarn com.caverock.androidsvg.**
|
||||||
-dontwarn org.slf4j.**
|
-dontwarn org.slf4j.**
|
||||||
-dontwarn org.codehaus.jackson.**
|
-dontwarn org.codehaus.jackson.**
|
||||||
|
-dontwarn com.android.location.provider.**
|
||||||
|
|
||||||
# Disable ProGuard Notes, they won't help here
|
# Disable ProGuard Notes, they won't help here
|
||||||
-dontnote
|
-dontnote
|
||||||
@ -38,6 +35,10 @@
|
|||||||
@org.microg.gms.common.HttpFormClient$* *;
|
@org.microg.gms.common.HttpFormClient$* *;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Keep our stuff
|
||||||
|
-keep class org.microg.** { *; }
|
||||||
|
-keep class com.google.android.gms.** { *; }
|
||||||
|
|
||||||
# Keep asInterface method cause it's accessed from SafeParcel
|
# Keep asInterface method cause it's accessed from SafeParcel
|
||||||
-keepattributes InnerClasses
|
-keepattributes InnerClasses
|
||||||
-keepclassmembers interface * extends android.os.IInterface {
|
-keepclassmembers interface * extends android.os.IInterface {
|
||||||
|
Loading…
Reference in New Issue
Block a user