【发布时间】:2013-10-04 15:00:15
【问题描述】:
我升级到 sbt 0.13,这个问题开始出现。 我在这里找到了解释:https://groups.google.com/forum/#!topic/simple-build-tool/MoApqIwx4R0
我仍在寻找解决方案。
【问题讨论】:
我升级到 sbt 0.13,这个问题开始出现。 我在这里找到了解释:https://groups.google.com/forum/#!topic/simple-build-tool/MoApqIwx4R0
我仍在寻找解决方案。
【问题讨论】:
你可以通过设置忽略冲突:
conflictWarning := ConflictWarning.disable,
也许可以通过配置冲突管理器来解决冲突。 SBT 0.13 的冲突管理描述为here。如果你想要predefined conflict managers 之一,它们在 ConflictManager 对象中定义:
object ConflictManager {
val all = ConflictManager("all")
val latestTime = ConflictManager("latest-time")
val latestRevision = ConflictManager("latest-revision")
val latestCompatible = ConflictManager("latest-compatible")
val strict = ConflictManager("strict")
val default = latestRevision
}
例如,要选择最新版本(按修订字符串),您可以在项目设置中添加以下内容:
conflictManager := ConflictManager.latestRevision
【讨论】:
_2.10 变体。相反,sbt 在解决后检查并给出错误,这比在类路径上重复要好。"