Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import AssemblyKeys._ // put this at the top of the file
- net.virtualvoid.sbt.graph.Plugin.graphSettings
- assemblySettings
- organization := "com.borsch"
- version := "0.1"
- scalaVersion := "2.10.1"
- scalacOptions := Seq("-unchecked", "-deprecation", "-encoding", "utf8")
- jarName in assembly := "api_standalone.jar"
- name := "api"
- // disable using the Scala version in output paths and artifacts
- crossPaths := false
- artifactName := { (sv: ScalaVersion, module: ModuleID, artifact: Artifact) =>
- artifact.name + "." + artifact.extension
- }
- resolvers ++= Seq(
- "spray repo" at "http://repo.spray.io/",
- "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
- )
- libraryDependencies ++= Seq(
- "io.spray" % "spray-servlet" % "1.1-M7",
- "io.spray" % "spray-can" % "1.1-M7",
- "io.spray" % "spray-routing" % "1.1-M7",
- "org.eclipse.jetty" % "jetty-webapp" % "8.1.7.v20120910" % "container",
- "org.eclipse.jetty.orbit" % "javax.servlet" % "3.0.0.v201112011016" % "container" artifacts Artifact("javax.servlet", "jar", "jar"),
- "com.typesafe.akka" %% "akka-actor" % "2.1.0",
- "net.sourceforge.htmlcleaner" % "htmlcleaner" % "2.2",
- "org.apache.httpcomponents" % "httpclient" % "4.2.3",
- "org.apache.commons" % "commons-lang3" % "3.1",
- //"org.mongodb" %% "casbah" % "2.6.0",
- //"com.romix.scala" % "scala-kryo-serialization" % "0.2-SNAPSHOT",
- // "org.scala-lang" % "scala-reflect" % "2.10.1",
- // "com.osinka.subset" %% "subset" % "1.2.0",
- "com.novus" %% "salat" % "1.9.2-SNAPSHOT",
- "io.spray" %% "spray-json" % "1.2.3" intransitive()
- )
- seq(Revolver.settings: _*)
- seq(webSettings: _*)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement