Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Add instructions for SBT installation #34

Open
kbarros opened this issue Oct 12, 2011 · 2 comments
Open

Add instructions for SBT installation #34

kbarros opened this issue Oct 12, 2011 · 2 comments

Comments

@kbarros
Copy link

kbarros commented Oct 12, 2011

You might want to mention in the README how to include Jerkson in an SBT based project:

In the root SBT project directory, create/edit the build.sbt file to contain the following two lines,

resolvers ++= Seq("Codahale" at "http://repo.codahale.com")

libraryDependencies ++= Seq("com.codahale" %% "jerkson" % "0.5.0")

Note that they must be separated by an empty line.

@magnusart
Copy link

Thank you for describing the solution in this ticket. It is always nicer to have it documented rather than converting from maven to sbt syntax by hand, even if it is quite easy.

@mslinn
Copy link

mslinn commented Jun 17, 2012

This should be on the front page of the project, with the Maven docs. BTW, Jerkson is now available from

"http://repo.typesafe.com/typesafe/releases"

... so you do not need to specify any other resolver. Also, Jerkson has not been cross-compiled for Scala 2.9.1-1 or 2.9.2. The magic incantation is therefore:

"com.codahale" % "jerkson_2.9.1" % "0.5.0"

Because sources are not downloadable, withSources() should not be specified

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants