openapi-generator/samples/server-generator/scalatra/templates/build.sbt

31 lines
1.4 KiB
Plaintext
Raw Normal View History

2012-09-21 06:04:21 +00:00
import com.github.siasia.PluginKeys._
2012-08-29 16:27:55 +00:00
organization := "com.wordnik"
name := "swagger-scalatra-server"
version := "0.1.0-SNAPSHOT"
2012-08-29 17:40:12 +00:00
scalaVersion := "2.9.2"
2012-08-29 16:27:55 +00:00
seq(webSettings :_*)
libraryDependencies ++= Seq(
2012-09-21 06:04:21 +00:00
"org.scalatra" % "scalatra" % "2.2.0-SNAPSHOT",
"org.scalatra" % "scalatra-scalate" % "2.2.0-SNAPSHOT",
"org.scalatra" % "scalatra-specs2" % "2.2.0-SNAPSHOT" % "test",
"org.scalatra" % "scalatra-swagger" % "2.2.0-SNAPSHOT",
"org.scalatra" % "scalatra-json" % "2.2.0-SNAPSHOT",
2012-12-04 08:15:55 +00:00
"org.json4s" %% "json4s-jackson" % "3.0.0",
"com.wordnik" % "swagger-core_2.9.1" % "1.1.1-SNAPSHOT",
2012-09-21 06:04:21 +00:00
"ch.qos.logback" % "logback-classic" % "1.0.6" % "runtime",
"org.eclipse.jetty" % "jetty-webapp" % "8.1.5.v20120716" % "container",
"org.eclipse.jetty.orbit" % "javax.servlet" % "3.0.0.v201112011016" % "container;provided;test" artifacts (Artifact("javax.servlet", "jar", "jar")))
2012-08-29 16:27:55 +00:00
resolvers += "Sonatype OSS Snapshots" at "http://oss.sonatype.org/content/repositories/snapshots/"
2012-09-21 06:04:21 +00:00
apps in container.Configuration <<= (deployment in Compile) map (d => Seq("/api" -> d))
ivyXML := <dependencies><exclude module="slf4j-log4j12"/></dependencies>