* Add back proguard file for Android and update README.md
The proguard-rules.pro file provided by Jeff McGlynn (9fe60a636)
works perfectly for Android projects with minifyEnabled.
Add the config file back to the repository and update README.md
to help other Android users setup release build.
* Refine android proguard file and remove proguard section in README.md
17 lines
612 B
Prolog
17 lines
612 B
Prolog
# Add project specific ProGuard rules here.
|
|
# You can control the set of applied configuration files using the
|
|
# proguardFiles setting in build.gradle.
|
|
|
|
# Keep the annotations that proguard needs to process.
|
|
-keep class com.google.android.filament.proguard.UsedBy*
|
|
|
|
# Just because native code accesses members of a class, does not mean that the
|
|
# class itself needs to be annotated - only annotate classes that are
|
|
# referenced themselves in native code.
|
|
-keep @com.google.android.filament.proguard.UsedBy* class * {
|
|
<init>();
|
|
}
|
|
-keepclassmembers class * {
|
|
@com.google.android.filament.proguard.UsedBy* *;
|
|
}
|