加入收藏 | 设为首页 | 会员中心 | 我要投稿 安卓应用网 (https://www.0791zz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 程序设计 > 正文

Ivy依赖冲突时如何让低版本的胜出

发布时间:2020-05-23 09:55:22 所属栏目:程序设计 来源:互联网
导读:在相应的dependency里面加上force=true,就会强制使用这个低版本的jar,忽略其它间接依赖的高版本的; 参考 http://ant.apache.org/ivy/history/latest-milestone/ivyfile/dependency.html Forcing revision Finally, the dependency element a

在相应的dependency里面加上force="true",就会强制使用这个低版本的jar,忽略其它间接依赖的高版本的;
参考 http://ant.apache.org/ivy/history/latest-milestone/ivyfile/dependency.html

Forcing revision

Finally,the dependency element also supports an a force attribute (since 0.8),which gives an indication
to conflicts manager to force the revision of a dependency to the one given here.
See conflicts manager for details.

(编辑:安卓应用网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读