finagle-websocket icon indicating copy to clipboard operation
finagle-websocket copied to clipboard

unresolved dependency: com.github.sprsquish#finagle-websockets;6.8.1

Open milnomada opened this issue 7 years ago • 0 comments

Hello,

After adding sbt dependencies (tried both % & %% ) I got: sbt.ResolveException: unresolved dependency: com.github.sprsquish#finagle-websockets_2.11;6.8.1: not found or (% case) sbt.ResolveException: unresolved dependency: com.github.sprsquish#finagle-websockets;6.8.1: not found

I've added in build.sbt:

resolvers += "com.github.sprsquish" at "https://raw.github.com/sprsquish/mvn-repo/master"
libraryDependencies ++= Seq(
...
"com.github.sprsquish" % "finagle-websockets" % "6.8.1"
...
)

Forcing version to:

libraryDependencies ++= Seq(
...
"com.github.sprsquish" % "finagle-websockets_2.9.2" % "6.8.1"
...
)

sbt resolves the dependency, but still got the error:

com.twitter:util-hashing _2.11, _2.9.2
com.twitter:finagle-core _2.11, _2.9.2
...
java.lang.RuntimeException: Conflicting cross-version suffixes in: com.twitter:util-hashing, com.twitter:finagle-core, com.twitter:util-core, com.twitter:util-logging 

Is it my only solution to move all other conflicting modules to 2.9.x ? Any hints on how to make it build? Any help appreciated

milnomada avatar Jan 11 '18 13:01 milnomada