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

sbt依赖管理备忘

发布时间:2020-05-22 21:01:38 所属栏目:程序设计 来源:互联网
导读:1、禁止依赖传递(intransitive) val json4s = org.json4s %% json4s-core % 3.2.4 intransitive() 2、排除某个传递的依赖(exclude) val json4s = org.json4s %% json4s-native % 3.2.4 exclude(org.scala-lang, scala-

1、禁止依赖传递(intransitive)

val json4s = "org.json4s" %% "json4s-core" % "3.2.4" intransitive()
2、排除某个传递的依赖(exclude)

val json4s = "org.json4s" %% "json4s-native" % "3.2.4" exclude("org.scala-lang","scala-compiler")

(编辑:安卓应用网)

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

    推荐文章
      热点阅读