Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proguard Configuration #11

Open
tasomaniac opened this issue Nov 12, 2013 · 1 comment
Open

Proguard Configuration #11

tasomaniac opened this issue Nov 12, 2013 · 1 comment

Comments

@tasomaniac
Copy link

Proguard keep deletes the members and functions with annotations.
When we use proguard, provigen is not working anymore.

I have tried to configure the proguard configuration, but I could not do it. What is the right way to do it? What do I need to add into the configuration?

@tasomaniac
Copy link
Author

I ended up adding the following lines. I don't know if all of them is necessary but it is working now.

-keepnames class * {
@com.tjeannin.provigen.
* public ;
}
-keepclassmembers class *
{
@com.tjeannin.provigen.** public *;
}

-keep class * extends com.tjeannin.provigen.ProviGenBaseContract
-keep @com.tjeannin.provigen.* public class *
-keep @com.tjeannin.provigen.
* public interface *

-dontwarn com.tjeannin.provigen.**
-keep class com.tjeannin.provigen.** { *; }
-libraryjars libs/provigen-1.6.jar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant