Created
June 15, 2011 08:55
-
-
Save xuwei-k/1026734 to your computer and use it in GitHub Desktop.
よく使うライブラリとかをsbt consoleで試すための、個人的なsbtのプロジェクトファイル
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sbt._ | |
object MyBuild extends Build{ | |
import Keys._ | |
lazy val sampleProject = Project("root",file(".")) | |
override lazy val settings = super.settings ++ Seq( | |
version := "0.1-SNAPSHOT", | |
organization := "xuwei_k", | |
scalaVersion := "2.9.0-1", | |
libraryDependencies ++= Seq( | |
"org.specs2" %% "specs2" % "1.5" % "test", | |
"org.scalaj" %% "scalaj-http" % "0.2.8" , | |
"net.liftweb" %% "lift-json" % "2.4-M2" , | |
"org.scala-tools.time" %% "time" % "0.4" | |
) | |
) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sbt._ | |
class Test(info: ProjectInfo) extends DefaultWebProject(info) | |
{ | |
val casbah = "com.mongodb.casbah" % "casbah_2.8.1" % "2.1.5.0" | |
val scalaTime = "org.scala-tools.time" % "time_2.8.0" % "0.3" | |
val liftjson = "net.liftweb" % "lift-json_2.8.1" % "2.3" | |
val servletapi = "javax.servlet" % "servlet-api" % "2.5" | |
val jetty7 = "org.eclipse.jetty" % "jetty-webapp" % "7.0.2.RC0" % "test" | |
val scalatra = "org.scalatra" % "scalatra_2.8.1" % "2.0.0.M3" | |
val scalaj_http = "org.scalaj" %% "scalaj-http" % "0.2.8" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment