jerkson
jerkson copied to clipboard
Add instructions for SBT installation
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.
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.
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