The latest spray releases are available from Maven Central, so no special resolver should be required to be able to pull them in. In addition, older artifacts (including milestones and RCs) are hosted in this repository:
If you use SBT you’ll want to add the following resolver:
resolvers += "spray repo" at "http://repo.spray.io"
Nightly builds are available from http://nightlies.spray.io, to use them add this resolver:
resolvers += "spray nightlies repo" at "http://nightlies.spray.io"
All spray artifacts follow this naming scheme:
|Artifact ID:||Module Name|
So, for expressing a dependency on a spray module with SBT you’ll want to add something like this to your project settings:
libraryDependencies += "io.spray" % "spray-can" % "1.x.x" // versions 1.1.x and 1.2.x
or (note the
libraryDependencies += "io.spray" %% "spray-can" % "1.3.x"
Make sure to replace the artifact name and version number with the one you are targeting! (see Current Versions)