Lukasz
Lukasz

Reputation: 3185

Conflicting cross-version suffixes in: com.twitter:util-core

I upgraded to sbt 0.13 and this issue started to pop out. I've found explaination here: https://groups.google.com/forum/#!topic/simple-build-tool/MoApqIwx4R0

I'm still looking for the solution.

Upvotes: 3

Views: 1006

Answers (1)

Matt G
Matt G

Reputation: 2373

You can ignore the conflict by setting:

conflictWarning := ConflictWarning.disable,

It might be possible to resolve the conflict by configuring the conflict manager. SBT 0.13's conflict management is described here. If you want one of the predefined conflict managers, they are defined in the ConflictManager object:

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
}

For example, to select the latest version (by revision string), you would add the following to your project's settings:

conflictManager := ConflictManager.latestRevision

Upvotes: 1

Related Questions