We looked into the option of replacing Guava with Seeds (https://github.com/jjzazuet/seeds-libraries) which is Guava split into modules.
Weld currently depends on the following seeds:
-
base
-
cache
-
collect
-
util
-
primitives
These modules combined take up 1.5 MB. This is not a significant win compared to the whole Guava package (2.1 MB). The saved 600KB is not worth the migration effort.
For scenarios where this would make a difference it is still possible to use Guava with ProGuard (https://code.google.com/p/guava-libraries/wiki/UsingProGuardWithGuava)
|