import com.typesafe.sbt.SbtGit._

name := "Smart Drug Search"

versionWithGit

git.baseVersion := "0.1"

scalaVersion := "2.10.3"

// enable deprecation, feature and unchecked warnings info on compile
scalacOptions ++= Seq("-deprecation", "-feature", "-unchecked")

// use "/lib" as manually managed library directory (NER tools *.jar files)
unmanagedBase := baseDirectory.value / "lib"

// testing dependencies
libraryDependencies ++= Seq(
  "org.scalatest"  %% "scalatest"                   % "2.0"     % "test",
  "org.scalamock"  %% "scalamock-scalatest-support" % "3.0.1"   % "test",
  "com.h2database" %  "h2"                          % "1.3.175" % "test"
)

// scala/java dependencies
libraryDependencies ++= Seq(
  "org.webjars"        %% "webjars-play"         % "2.2.1-2",
  "com.typesafe.slick" %% "slick"                % "2.0.0",
  "org.slf4j"          %  "slf4j-nop"            % "1.7.6",
  "mysql"              %  "mysql-connector-java" % "5.1.29"
)

// import extra settings (view in project/Build.scala)
Build.settings

import com.typesafe.sbt.SbtGit._

name := "Smart Drug Search"

versionWithGit

git.baseVersion := "0.1"

scalaVersion := "2.10.3"

// enable deprecation, feature and unchecked warnings info on compile
scalacOptions ++= Seq("-deprecation", "-feature", "-unchecked")

// use "/lib" as manually managed library directory (NER tools *.jar files)
unmanagedBase := baseDirectory.value / "lib"

// testing dependencies
libraryDependencies ++= Seq(
  "org.scalatest"  %% "scalatest" % "2.0"     % "test",
  "com.h2database" %  "h2"        % "1.3.175" % "test"
)

// scala/java dependencies
libraryDependencies ++= Seq(
  "org.webjars"        %% "webjars-play"         % "2.2.1-2",
  "com.typesafe.slick" %% "slick"                % "2.0.0",
  "mysql"              %  "mysql-connector-java" % "5.1.29"
)

// import extra settings (view in project/Build.scala)
Build.settings

--- 
+++ 
@@ -16,14 +16,16 @@
 
 // testing dependencies
 libraryDependencies ++= Seq(
-  "org.scalatest"  %% "scalatest" % "2.0"     % "test",
-  "com.h2database" %  "h2"        % "1.3.175" % "test"
+  "org.scalatest"  %% "scalatest"                   % "2.0"     % "test",
+  "org.scalamock"  %% "scalamock-scalatest-support" % "3.0.1"   % "test",
+  "com.h2database" %  "h2"                          % "1.3.175" % "test"
 )
 
 // scala/java dependencies
 libraryDependencies ++= Seq(
   "org.webjars"        %% "webjars-play"         % "2.2.1-2",
   "com.typesafe.slick" %% "slick"                % "2.0.0",
+  "org.slf4j"          %  "slf4j-nop"            % "1.7.6",
   "mysql"              %  "mysql-connector-java" % "5.1.29"
 )
 
Add SLF4J-Nop and ScalaMock dependencies

Slick uses SLF4J for its own debug logging, so an implementation is needed.
SLF4J-Nop provides an implementation that just does nothing, so it actually
disables logging from Slick. This is good actually, since it is not needed at
the moment. It will be replaced in the future by another logging framework if
its outputs were needed.

ScalaMock is a framework for creating Mock objects (for testing purposes) for
Scala. It has ScalaTest support, so that it can be both easily integrated.
Current ScalaMock does not have a compiler plugin like previous ones (for Scala
2.9 and older), so it is a bit more limited, but it will probably be enough.
