So far, it's pretty much unanimous that we should make Guava a real
dependency and bump to Java6.  So, we're going to do that.  If you don't
want us to do that, please speak up and explain why!

We're probably going to continue shading cglib & asm dependencies for now
-- the two of them just have too many versioning issues.  (For example, the
latest builds of Guice won't work with asm < 4.0, the earlier builds won't
work with asm >= 4.0... the latest build doesn't work with cglib < 3.0 if
you use an asm > 4.0, etc etc etc..)

 sam




On Mon, Dec 9, 2013 at 10:32 AM, Sam Berlin <[email protected]> wrote:

> Hi Everyone,
>
> Currently, Guice has a minimum requirement of Java5.   It also has no
> dependencies on other libraries at runtime, except for the aopalliance &
> javax.inject jars.
>
> There's an open issue (issue 
> 709<https://code.google.com/p/google-guice/issues/detail?id=709>)
> to turn Guava into a "real dependency" instead of an embedded dependency.
>  This would let people update the Guava version at will.  The only reason
> we wouldn't want to do this is:  the Guava library is big, and people would
> need to use proguard manually to strip out the unnecessary parts of Guava,
> if they want to keep small dependencies.
>
> Along the same lines, the current versions of Guava have moved to Java6 as
> a minimum requirement.  If we wanted to continue the Java5 minimum
> requirement, we could use the "java5 backports" that Guava exposes... or,
> if turn Guava into a "real dependency", we can leave it to the user to
> decide which Guava to use (defaulting to the most recent java6 ones).
>
> That said, I'd love to just bump the minimum version to Java6 anyway.  The
> only reason to keep it to Java5 is for Android, and to be honest: 
> Dagger<http://square.github.io/dagger/> is
> a better option for Android.
>
> So... please reply to this email with your thoughts on these questions:
>
>  1) Do you want Guice to embed Guava or to make it a real dependency?
>
>  2) Is it OK for Guice to bump it's minimum requirements up to Java6?
>
> Thanks!
>
>  sam
>

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to