2

Current version (14.0.1) of guava-libraries is 2 MB. It is not huge, it is not small neither. Especially when I want to use it in an exemplary project for my students and only need "Strings" part of it for parsing some input.

Are there any smaller parts of Guava available as JAR-s with compiled code, or I have to use all of it, or compile and prepare my own bundle (e.g. using ProGuard)?

1
  • 1
    As you noticed, ProGuard is the solution here. May 15, 2013 at 11:46

1 Answer 1

3

According to Maven Repository there does not seem to be any smaller jar files that the Guava library is depending on.

So I would say no, there are no smaller portions of the Guava library that you can use. You will have to build your own jar files with only the classes you need.

So ProGuard seems to be the right solution for you.

1
  • 1
    Thanks, I tried and succeeded with ProGuard. However, there is a dependency on javax.inject in Guava, so ProGuard configuration has to be modified (see my comment on the page mentioned in the question).
    – pwes
    May 17, 2013 at 9:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.