Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Proguard settings for Android to preserve Apertium machine translation jar files
# Preserve Apertium offline translation
-dontwarn com.sun.org.apache.bcel.internal.**
-dontwarn java.awt.**
-dontwarn javax.swing.**
-dontwarn javax.tools.**
-dontwarn javax.xml.stream.**
-dontwarn org.apertium.ApertiumGUI
-keepattributes InnerClasses
-keep class org.apertium.**
-keepclassmembers class * {
public *; protected *; private *;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment