Advertisement
Guest User

Untitled

a guest
May 16th, 2013
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  1.  
  2.  
  3. import AssemblyKeys._ // put this at the top of the file
  4.  
  5. net.virtualvoid.sbt.graph.Plugin.graphSettings
  6.  
  7. assemblySettings
  8.  
  9. organization := "com.borsch"
  10.  
  11. version := "0.1"
  12.  
  13. scalaVersion := "2.10.1"
  14.  
  15. scalacOptions := Seq("-unchecked", "-deprecation", "-encoding", "utf8")
  16.  
  17. jarName in assembly := "api_standalone.jar"
  18.  
  19. name := "api"
  20.  
  21. // disable using the Scala version in output paths and artifacts
  22. crossPaths := false
  23.  
  24. artifactName := { (sv: ScalaVersion, module: ModuleID, artifact: Artifact) =>
  25. artifact.name + "." + artifact.extension
  26. }
  27.  
  28. resolvers ++= Seq(
  29. "spray repo" at "http://repo.spray.io/",
  30. "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
  31. )
  32.  
  33. libraryDependencies ++= Seq(
  34. "io.spray" % "spray-servlet" % "1.1-M7",
  35. "io.spray" % "spray-can" % "1.1-M7",
  36. "io.spray" % "spray-routing" % "1.1-M7",
  37. "org.eclipse.jetty" % "jetty-webapp" % "8.1.7.v20120910" % "container",
  38. "org.eclipse.jetty.orbit" % "javax.servlet" % "3.0.0.v201112011016" % "container" artifacts Artifact("javax.servlet", "jar", "jar"),
  39. "com.typesafe.akka" %% "akka-actor" % "2.1.0",
  40. "net.sourceforge.htmlcleaner" % "htmlcleaner" % "2.2",
  41. "org.apache.httpcomponents" % "httpclient" % "4.2.3",
  42. "org.apache.commons" % "commons-lang3" % "3.1",
  43. //"org.mongodb" %% "casbah" % "2.6.0",
  44. //"com.romix.scala" % "scala-kryo-serialization" % "0.2-SNAPSHOT",
  45. // "org.scala-lang" % "scala-reflect" % "2.10.1",
  46. // "com.osinka.subset" %% "subset" % "1.2.0",
  47. "com.novus" %% "salat" % "1.9.2-SNAPSHOT",
  48. "io.spray" %% "spray-json" % "1.2.3" intransitive()
  49. )
  50.  
  51. seq(Revolver.settings: _*)
  52.  
  53. seq(webSettings: _*)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement