Verified Commit cfc90b45 authored by Marvin W.'s avatar Marvin W. 🐿
Browse files

Ensure ProGuard does not "optimize" away our code

parent 2c5c30bd
# We use ProGuard for optimizations, obfuscation is for those who have sth to hide
-optimizations !code/allocation/variable
# We're referencing stuff that is unknown to the system
#-libraryjar ../unifiednlp-compat/build/classes/java/main
-dontwarn java.awt.**
......@@ -15,6 +11,7 @@
-dontwarn com.caverock.androidsvg.**
-dontwarn org.slf4j.**
-dontwarn org.codehaus.jackson.**
# Disable ProGuard Notes, they won't help here
......@@ -38,6 +35,10 @@
@org.microg.gms.common.HttpFormClient$* *;
# Keep our stuff
-keep class org.microg.** { *; }
-keep class** { *; }
# Keep asInterface method cause it's accessed from SafeParcel
-keepattributes InnerClasses
-keepclassmembers interface * extends android.os.IInterface {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment