Newer
Older
gitbucket_jkp / project / build.scala
@takezoe takezoe on 5 Jul 2013 1 KB (refs #20)Upgrade to JGit 3.0.0.
  1. import sbt._
  2. import Keys._
  3. import org.scalatra.sbt._
  4. import org.scalatra.sbt.PluginKeys._
  5. import twirl.sbt.TwirlPlugin._
  6. import com.typesafe.sbteclipse.plugin.EclipsePlugin.EclipseKeys
  7.  
  8. object MyBuild extends Build {
  9. val Organization = "jp.sf.amateras"
  10. val Name = "gitbucket"
  11. val Version = "0.0.1"
  12. val ScalaVersion = "2.10.1"
  13. val ScalatraVersion = "2.2.0"
  14.  
  15. lazy val project = Project (
  16. "gitbucket",
  17. file("."),
  18. settings = Defaults.defaultSettings ++ ScalatraPlugin.scalatraWithJRebel ++ Seq(
  19. organization := Organization,
  20. name := Name,
  21. version := Version,
  22. scalaVersion := ScalaVersion,
  23. resolvers += Classpaths.typesafeReleases,
  24. libraryDependencies ++= Seq(
  25. "org.eclipse.jgit" % "org.eclipse.jgit.http.server" % "3.0.0.201306101825-r",
  26. "org.apache.commons" % "commons-io" % "1.3.2",
  27. "org.scalatra" %% "scalatra" % ScalatraVersion,
  28. "org.scalatra" %% "scalatra-specs2" % ScalatraVersion % "test",
  29. "org.scalatra" %% "scalatra-json" % ScalatraVersion,
  30. "org.json4s" %% "json4s-jackson" % "3.2.4",
  31. "commons-io" % "commons-io" % "2.4",
  32. "org.pegdown" % "pegdown" % "1.3.0",
  33. "org.apache.commons" % "commons-compress" % "1.5",
  34. "com.typesafe.slick" %% "slick" % "1.0.1",
  35. "com.h2database" % "h2" % "1.3.171",
  36. "ch.qos.logback" % "logback-classic" % "1.0.6" % "runtime",
  37. "org.eclipse.jetty" % "jetty-webapp" % "8.1.8.v20121106" % "container",
  38. "org.eclipse.jetty.orbit" % "javax.servlet" % "3.0.0.v201112011016" % "container;provided;test" artifacts (Artifact("javax.servlet", "jar", "jar"))
  39. ),
  40. EclipseKeys.withSource := true
  41. ) ++ seq(Twirl.settings: _*)
  42. )
  43. }