-target 1.6-dontobfuscate-dontoptimize-dontusemixedcaseclassnames-dontskipnonpubliclibraryclasses-dontpreverify-verbose-dump ../bin/class_files.txt-printseeds ../bin/seeds.txt-printusage ../bin/unused.txt-printmapping ../bin/mapping.txt# The -optimizations option disables some arithmetic simplifications that Dalvik 1.0 and 1.5 can't handle.-optimizations !code/simplification/arithmetic-keep public class * extends android.app.Activity-keep public class * extends android.app.Application-keep public class * extends android.app.Service-keep public class * extends android.content.BroadcastReceiver-keep public class * extends android.content.ContentProvider-keep class com.google.inject.Binder-keepclassmembers class * {@com.google.inject.Inject <init>(...);}-keep public class * extends android.view.View {public <init>(android.content.Context);public <init>(android.content.Context, android.util.AttributeSet);public <init>(android.content.Context, android.util.AttributeSet, int);public void set*(...);}-keep public class roboguice.**-keep public class com.groupon.inject.JsonConverter
--
You received this message because you are subscribed to the Google Groups "roboguice" group.
To post to this group, send email to robo...@googlegroups.com.
To unsubscribe from this group, send email to roboguice+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/roboguice?hl=en.
I will ask around on the proguard forum as well..
manfred
manfred
manfred
Manfred - I was just wondering if you ever blogged the work relating to obfuscation with proguard?
--
The -keep options currently don't support templates containing parameter annotations. One can easily imagine support though, just like the current class annotations and class member annotations. Adding it is very well possible but not trivial (parameter patterns are currently matched against the descriptor string as a whole, for instance allowing wildcards to match groups of parameters). It's the first time someone is asking for it, so I'm not sure how commonly useful this can be. I'll keep it in mind for now. As a solution, you should try finding different patterns, or maybe introduce an additional annotation for the methods to be preserved. Eric
--
You received this message because you are subscribed to the Google Groups "roboguice" group.
To view this discussion on the web visit https://groups.google.com/d/msg/roboguice/-/U4jsSy2Ow4YJ.
Does anyone have a working (with 1.2-SNAPSHOT) proguard.cfg that I
could try out? I can't seem to get my application to load even with a
dummy activity that uses no roboguice features other than inheriting
from RoboFragmentActivity.
I always get a java.lang.NoSuchMethodException for the method
startFinalizer, despite attempts to keep said method around.
Also, does anyone else get warnings on launch saying "Could not load
Finalizer in its own class loader"?
--
You received this message because you are subscribed to the Google Groups "roboguice" group.
--
You received this message because you are subscribed to the Google Groups "roboguice" group.