-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.sbt
60 lines (47 loc) · 1.96 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
57
58
59
60
name := "Reduc.io"
organization := "org.reducio"
version := "0.1-SNAPSHOT"
scalaVersion := "2.12.4"
scalacOptions := Seq("-unchecked", "-feature", "-deprecation", "-encoding", "utf8")
scalacOptions in Test ++= Seq("-Yrangepos")
libraryDependencies ++= {
val circeVersion = "0.11.1"
val akkaVersion = "10.0.10"
val gatlingVersion = "3.4.0"
val specs2Version = "4.14.1"
val scalaTestVersion = "3.0.9"
val akkaHttpCirceVersion = "1.18.0"
val logbackVersion = "1.2.3"
val typesafeScalaLoggingVersion = "3.7.2"
val rediscalaVersion = "1.8.0"
val embeddedRedisVersion = "0.3.0"
Seq(
"io.circe" %% "circe-core" % circeVersion,
"io.circe" %% "circe-generic" % circeVersion,
"io.circe" %% "circe-parser" % circeVersion,
"com.typesafe.akka" %% "akka-http" % akkaVersion,
"de.heikoseeberger" %% "akka-http-circe" % akkaHttpCirceVersion,
"ch.qos.logback" % "logback-classic" % logbackVersion,
"com.typesafe.scala-logging" %% "scala-logging" % typesafeScalaLoggingVersion,
"com.github.etaty" %% "rediscala" % rediscalaVersion,
"org.scalactic" %% "scalactic" % scalaTestVersion % "test",
"org.scalatest" %% "scalatest" % scalaTestVersion % "test",
"org.specs2" %% "specs2-core" % specs2Version % "test",
"org.specs2" %% "specs2-mock" % specs2Version % "test",
"com.typesafe.akka" %% "akka-http-testkit" % akkaVersion % "test",
"com.github.sebruck" %% "scalatest-embedded-redis" % embeddedRedisVersion % "test",
"io.gatling" % "gatling-test-framework" % gatlingVersion % "test,it",
"io.gatling.highcharts" % "gatling-charts-highcharts" % gatlingVersion % "test,it"
)
}
lazy val commonSettings = Seq(
version := "0.1-SNAPSHOT",
organization := "org.reducio",
scalaVersion := "2.12.4",
test in assembly := {}
)
Revolver.settings
enablePlugins(JavaAppPackaging)
enablePlugins(GatlingPlugin)
coverageExcludedFiles := ".*Main.*;.*Config.*"
javaOptions in Gatling := overrideDefaultJavaOptions("-Xms1024m", "-Xmx2048m")