This repository has been archived by the owner on May 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
Autumn and Proguard
MJ edited this page Dec 17, 2017
·
1 revision
In order to use Proguard along with Autumn, you must make sure that component classes are not pruned or obfuscated.
# Keep constructors for automatic component initiation:
-keepclassmembers class com.your.company.** {
public <init>(...);
}
# Keep all members with Autumn annotations:
-keepclassmembers,allowobfuscation class * {
@com.github.czyzby.** *;
}
# Required LibGDX config changes:
-keepclassmembers enum com.badlogic.gdx.*$* { <fields>; }
See #61.
MJ 2016