diff options
author | vlad <vlad@drivergrp.com> | 2016-07-15 19:41:26 -0400 |
---|---|---|
committer | vlad <vlad@drivergrp.com> | 2016-07-15 19:41:26 -0400 |
commit | c0d574dc6134e4f406875ea5a1301ba46602a6ec (patch) | |
tree | 606a56d184bd8c4d67f98b5aa3fafa3640a8190f /project/Build.scala | |
download | driver-core-c0d574dc6134e4f406875ea5a1301ba46602a6ec.tar.gz driver-core-c0d574dc6134e4f406875ea5a1301ba46602a6ec.tar.bz2 driver-core-c0d574dc6134e4f406875ea5a1301ba46602a6ec.zip |
Initial commit with standard lib, might be used a example of cake
Diffstat (limited to 'project/Build.scala')
-rw-r--r-- | project/Build.scala | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/project/Build.scala b/project/Build.scala new file mode 100644 index 0000000..60ae493 --- /dev/null +++ b/project/Build.scala @@ -0,0 +1,41 @@ +import sbt._ +import Keys._ + +object BuildSettings { + val buildSettings = Defaults.coreDefaultSettings ++ Seq ( + organization := "com.drivergrp", + name := "core", + version := "0.0.1", + scalaVersion := "2.11.6", + scalacOptions := Seq("-unchecked", "-deprecation", "-feature", "-encoding", "utf8"), + fork in run := true + ) +} + +object DriverBuild extends Build { + import BuildSettings._ + + val akkaHttpV = "2.4.8" + + val dependencies = Seq( + "com.typesafe.akka" %% "akka-http-core" % akkaHttpV, + "com.typesafe.akka" %% "akka-http-experimental" % akkaHttpV, + "com.typesafe.akka" %% "akka-http-jackson-experimental" % akkaHttpV, + "com.typesafe.akka" %% "akka-http-spray-json-experimental" % akkaHttpV, + "com.typesafe.akka" %% "akka-http-testkit" % akkaHttpV, + "org.scalatest" % "scalatest_2.11" % "2.2.1" % "test", + "com.typesafe.slick" %% "slick" % "3.0.0", + "com.typesafe" % "config" % "1.2.1", + "com.typesafe.scala-logging" %% "scala-logging" % "3.1.0", + "ch.qos.logback" % "logback-classic" % "1.1.3", + "org.slf4j" % "slf4j-nop" % "1.6.4", + "org.scalaz" %% "scalaz-core" % "7.2.4", + "com.github.swagger-akka-http" %% "swagger-akka-http" % "0.7.1" + ) + + lazy val core = Project ( + "core", + file ("."), + settings = buildSettings ++ Seq (libraryDependencies ++= dependencies) + ) +}
\ No newline at end of file |