前言
在Android(Java)开发中, Apache Commons工具库可以简化开发,减少重复代码,提高开发效率,于是整理了一下Apache Commons工具库的一些常用依赖,方便在开发中直接使用。
正文
collections:
implementation ‘org.apache.commons:commons-collections4:4.1’
lang:
implementation ‘org.apache.commons:commons-lang3:3.7’
compress:
implementation ‘org.apache.commons:commons-compress:1.17’
net:
implementation ‘commons-net:commons-net:3.6’
io:
implementation ‘commons-io:commons-io:2.6’
exec:
implementation ‘org.apache.commons:commons-exec:1.3’
codec:
implementation ‘commons-codec:commons-codec:1.11’
http:
implementation ‘org.apache.httpcomponents:httpclient:4.5.5’
validator:
implementation ‘commons-validator:commons-validator:1.6’
math:
implementation ‘org.apache.commons:commons-math3:3.6.1’