forked from j5ik2o/spetstore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
56 lines (43 loc) · 2.42 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name := "spetstore"
version := "1.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayScala)
scalaVersion := "2.11.5"
resolvers += "Sonatype OSS Release Repository" at "https://oss.sonatype.org/content/repositories/releases/"
resolvers += "Bintary JCenter" at "http://jcenter.bintray.com"
val circeVersion = "0.7.0"
libraryDependencies ++= Seq(
jdbc,
cache,
ws,
filters,
"org.scalatestplus.play" %% "scalatestplus-play" % "2.0.0-M1" % Test,
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
"org.hamcrest" % "hamcrest-all" % "1.3" % Test,
"org.mockito" % "mockito-core" % "1.10.19" % Test,
"org.specs2" %% "specs2-core" % "3.8.9" % Test,
"org.specs2" %% "specs2-junit" % "3.8.9" % Test,
"net.codingwell" %% "scala-guice" % "4.1.0",
"com.github.nscala-time" %% "nscala-time" % "2.16.0",
"org.scalikejdbc" %% "scalikejdbc" % "2.5.1",
"org.scalikejdbc" %% "scalikejdbc-test" % "2.5.1",
"org.scalikejdbc" %% "scalikejdbc-config" % "2.5.1",
"org.scalikejdbc" %% "scalikejdbc-play-initializer" % "2.5.+",
"org.scalikejdbc" %% "scalikejdbc-play-dbapi-adapter" % "2.5.+",
"org.skinny-framework" %% "skinny-orm" % "2.3.5",
"com.h2database" % "h2" % "1.4.187",
// "ch.qos.logback" % "logback-classic" % "1.2.1",
//"io.swagger" %% "swagger-play2" % "1.5.1",
"org.flywaydb" %% "flyway-play" % "3.0.1",
"mysql" % "mysql-connector-java" % "6.0.5",
"io.circe" %% "circe-core" % circeVersion,
"io.circe" %% "circe-generic" % circeVersion,
"io.circe" %% "circe-parser" % circeVersion,
"play-circe" %% "play-circe" % "2.5-0.7.0"
)
routesGenerator := InjectedRoutesGenerator
flywayUrl := "jdbc:mysql://localhost/spetstore?autoReconnect=true&useSSL=false"
flywayUser := "spetstore"
flywayPassword := "phou8Igh"
flywayLocations := Seq("filesystem:conf/db/migration/default")
scalafmtOnCompile in Compile := true
scalafmtTestOnCompile in Compile := true