NET-A-PORTER/scala-uri

Conflict of shapeless version

Closed this issue · 3 comments

Hello,

I am currently working with Scala 2.10.3 and SBT 0.13.1.
My project contains most of the dependencies Spray 1.3.1.

When I add scala-uri to my project, I get an error in SBT: Conflicting cross-Version in suffixes: com.chuusai: shapeless

How to solve this problem?

Thanks.

Does adding this to your build file help?

conflictWarning := ConflictWarning.disable

Source

Does it list out the two version suffixes that conflict?

Looks like @jrudolph has been working on upgrading to shapeless 2.0 in Spray 1.3. See this branch

@lanarchyste: I would keep an eye on this as it should solve your problem

theon commented

As mentioned here in the spray docs, specific versions of spray will only work with specific versions of shapeless. Not sure there is anything else I can do here to fix this.