jerkson icon indicating copy to clipboard operation
jerkson copied to clipboard

Add instructions for SBT installation

Open kbarros opened this issue 13 years ago • 2 comments

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.

kbarros avatar Oct 12 '11 04:10 kbarros

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.

magnusart avatar Apr 20 '12 21:04 magnusart

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

mslinn avatar Jun 17 '12 05:06 mslinn