switch dispatch to dispatch.classic to avoid collisions with plugins which use newer versions of dispatch (0.9+)

This commit is contained in:
jozic 2013-02-13 15:03:31 -05:00 committed by Mark Harrah
parent 9d4b604513
commit 51728d1ad1
2 changed files with 3 additions and 3 deletions

View File

@ -43,8 +43,8 @@ object Release extends Build
def deployLauncher(launcher: ScopedTask[File]) =
(launcher, launcherRemotePath, credentials, remoteBase, streams) map { (launchJar, remotePath, creds, base, s) =>
val (uname, pwd) = getCredentials(creds, s.log)
val request = dispatch.url(base) / remotePath <<< (launchJar, BinaryType) as (uname, pwd)
val http = new dispatch.Http
val request = dispatch.classic.url(base) / remotePath <<< (launchJar, BinaryType) as (uname, pwd)
val http = new dispatch.classic.Http
try { http(request.as_str) } finally { http.shutdown() }
}
def getCredentials(cs: Seq[Credentials], log: Logger): (String, String) =

View File

@ -1,5 +1,5 @@
libraryDependencies ++= Seq(
"net.databinder" %% "dispatch-http" % "0.8.8",
"net.databinder" %% "dispatch-http" % "0.8.9",
"org.jsoup" % "jsoup" % "1.7.1"
)