Skip to content

Instantly share code, notes, and snippets.

@smparkes
Created August 4, 2011 20:44
Show Gist options
  • Save smparkes/1126214 to your computer and use it in GitHub Desktop.
Save smparkes/1126214 to your computer and use it in GitHub Desktop.
build.scala
import sbt._
import Keys._
import com.github.siasia.WebPlugin.webSettings
object Me extends Build {
lazy val me = Project("me", file("."), settings =
Seq(name := "web",
version := "1.0",
scalaVersion := "2.9.0") ++
webSettings ++
Seq(libraryDependencies ++= Seq(
"org.scalatra" %% "scalatra" % "2.0.0-SNAPSHOT",
"org.scalatra" %% "scalatra-scalate" % "2.0.0-SNAPSHOT",
"org.mortbay.jetty" % "jetty" % "6.1.22" % "jetty",
"javax.servlet" % "servlet-api" % "2.5" % "provided->default"
),
fork in run := true,
resolvers ++= Seq(
"Sonatype OSS Snapshots" at "http://oss.sonatype.org/content/repositories/snapshots/"
)
))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment