I'm thinking that maybe all you need is a Proguard configuration
(above and more below) and some third-party (such as JarJar) to move
some packages around and you're done. You'd run Proguard with
shrinking enabled, obfuscation disabled, and look into whether
optimization should be enabled or not.

Here is the second part of the Proguard configuration you will need to
prevent Guice-specific classes from being removed:

# Referenced by com.google.inject.AbstractModule
-keep class com.google.inject.Binder
{
        *;
}

# Keep any constructors annotated with @Inject
-keepclassmembers class *
{
        @com.google.inject.Inject <init>(...);
}

At least, this is what I used for Guice 1.0
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to