Created
August 4, 2011 20:44
-
-
Save smparkes/1126214 to your computer and use it in GitHub Desktop.
build.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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