Skip to content

Instantly share code, notes, and snippets.

@xuwei-k
Created July 27, 2011 02:45
Show Gist options
  • Save xuwei-k/1108550 to your computer and use it in GitHub Desktop.
Save xuwei-k/1108550 to your computer and use it in GitHub Desktop.
sbt0.10.x , Full Configuration , project setting file sample
import sbt._
object MyBuild extends Build{
import Keys._
lazy val project = Project("root",file("."))
override lazy val settings = super.settings ++ Seq(
scalaVersion := "2.9.0-1",
libraryDependencies ++= Seq(
"org.specs2" %% "specs2" % "1.5" % "test"
,"com.mongodb.casbah" %% "casbah" % "2.1.5-1"
,"com.mongodb.casbah" %% "casbah-dynamic" % "2.1.5.0"
),
scalacOptions ++= Seq(
"-deprecation",
"-unchecked",
"-Xexperimental"
)
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment