Created
November 18, 2011 16:49
-
-
Save efleming969/1377010 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
import com.github.siasia.PluginKeys._ | |
import fi.jawsy.sbtplugins.jrebel.JRebelPlugin._ | |
object AppEngineSample extends Build { | |
lazy val testingDependencies = Seq( | |
"org.scalatest" %% "scalatest" % "1.6.1" % "test" | |
) | |
lazy val productionDependencies = Seq( | |
"org.eclipse.jetty" % "jetty-webapp" % "8.0.1.v20110908" % "container", | |
"javax.servlet" % "servlet-api" % "2.5" % "provided" | |
) | |
lazy val standardSettings = Seq( | |
organization := "sudogs", | |
name := "sample", | |
version := "0.1-SNAPSHOT", | |
scanDirectories in Compile := Nil, | |
libraryDependencies := testingDependencies ++ productionDependencies, | |
jrebel.webLinks <++= webappResources in Compile, | |
scalacOptions ++= Seq("-encoding", "UTF-8", "-deprecation", "-unchecked") | |
) | |
lazy val root = Project( | |
id = "sample", | |
base = file("."), | |
// order matters here when override plugin settings | |
settings = Defaults.defaultSettings ++ WebPlugin.webSettings ++ jrebelSettings ++ standardSettings | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment