-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.sbt
More file actions
52 lines (41 loc) · 1.46 KB
/
build.sbt
File metadata and controls
52 lines (41 loc) · 1.46 KB
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
lazy val test = Seq(
"org.scalactic" %% "scalactic" % "3.0.1",
"org.scalatest" %% "scalatest" % "3.0.1" % "test",
"org.scalacheck" %% "scalacheck" % "1.13.4" % "test",
"org.scalamock" %% "scalamock" % "4.1.0" % "test"
)
lazy val TgAPI = Seq(
"com.typesafe.akka" %% "akka-http" % "10.1.1",
"com.typesafe.akka" %% "akka-stream" % "2.5.11",
"com.typesafe.akka" %% "akka-http-spray-json" % "10.1.1",
"info.mukel" %% "telegrambot4s" % "3.0.14"
)
enablePlugins(FlywayPlugin)
resolvers += Resolver.jcenterRepo
lazy val db = Seq(
"com.typesafe.slick" %% "slick" % "3.2.0",
"org.slf4j" % "slf4j-nop" % "1.6.4",
"com.typesafe.slick" %% "slick-hikaricp" % "3.2.0",
"com.h2database" % "h2" % "1.4.197"
)
flywayUrl := "jdbc:h2:./prod"
flywayUser := "root"
flywayPassword := "secret"
flywayLocations += "classpath:db/migration"
parallelExecution in Test := false
lazy val dinnerBot = (project in file(".")).
settings(
inThisBuild(List(
name := "dinner-bot",
scalaVersion := "2.12.5"
)),
name := "dinner-bot",
libraryDependencies += "com.typesafe" % "config" % "1.3.2",
libraryDependencies ++= test,
libraryDependencies ++= TgAPI,
libraryDependencies ++= db
)
enablePlugins(JavaAppPackaging)
/*libraryDependencies += "com.typesafe.akka" %% "akka-http" % "10.1.1"
libraryDependencies += "com.typesafe.akka" %% "akka-stream" % "2.5.11"
libraryDependencies += "com.typesafe.akka" %% "akka-http-spray-json" % "10.1.1"*/