下载番石榴库的一部分 [英] Downloading part of guava-libraries

查看:121
本文介绍了下载番石榴库的一部分的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

guava库的当前版本(14.0.1)为2 MB.它既不大,也不小.尤其是当我想为我的学生在一个示例项目中使用它,而只需要它的字符串"部分来解析某些输入时.

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.

是否有Guava的较小部分可作为带有已编译代码的JAR-s使用,或者我必须全部使用它,或者编译并准备自己的捆绑包(例如

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)?

推荐答案

根据

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

所以我要说不,Guava库中没有较小的部分可以使用.您只需要使用所需的类来构建自己的jar文件.

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.

因此ProGuard似乎是适合您的解决方案.

So ProGuard seems to be the right solution for you.

这篇关于下载番石榴库的一部分的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆