sbt-appengine is a sbt 0.10+ port of the awesome sbt-appengine-plugin by yasushi.
export environment variables (actually, JRebel support is not ported yet).
export APPENGINE_SDK_HOME=~/appengine-java-sdk-1.5.0
export JREBEL_JAR_PATH=~/jrebel/jrebel.jar
put the following in the project/plugins.sbt
:
resolvers += "Web plugin repo" at "https://siasia.github.com/maven2"
addSbtPlugin("com.github.siasia" % "xsbt-web-plugin" % "0.1.2")
addSbtPlugin("com.eed3si9n" % "sbt-appengine" % "0.3.0")
for build.sbt
:
seq(appengineSettings: _*)
for build.scala
:
import sbtappengine.Plugin._
import AppengineKeys._
lazy val example = Project("web", file("web"),
settings = buildSettings ++ appengineSettings ++
Seq( // your settings here
))
you can now deploy your application like this:
> appengine-deploy