finagle / finagle-websocket

Finagle Websocket clients and servers
35 stars 23 forks source link

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

Open milnomada opened 6 years ago

milnomada commented 6 years ago

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