This repository has been archived by the owner on Sep 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
/
build.sbt
43 lines (41 loc) · 1.61 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
import sbt.Keys._
val dependencies = Seq(
"com.typesafe.akka" %% "akka-actor" % Versions.akka,
"com.typesafe.akka" %% "akka-slf4j" % Versions.akka,
"com.typesafe.scala-logging" %% "scala-logging" % Versions.scalaLogging,
"org.yaml" % "snakeyaml" % Versions.snakeYaml,
"com.github.pathikrit" %% "better-files" % Versions.betterFiles,
"com.github.tototoshi" %% "scala-csv" % Versions.scalaCsv,
"org.apache.commons" % "commons-math3" % Versions.commonsMath,
"com.github.scopt" %% "scopt" % Versions.scopt,
"org.apache.commons" % "commons-lang3" % Versions.commonsLang3,
"ch.qos.logback" % "logback-classic" % Versions.logbackClassic,
"com.typesafe.akka" %% "akka-testkit" % Versions.akka % "test, it",
"org.scalatest" %% "scalatest" % Versions.scalatest % "test, it",
"org.scalatest" %% "scalatest-flatspec" % Versions.scalatest % "test, it",
"org.postgresql" % "postgresql" % Versions.postgres % "test, it"
)
lazy val dbstresss = (project in file("."))
.enablePlugins(PackPlugin)
.settings(
organization := "eu.semberal",
name := "dbstress",
version := sys.env.getOrElse("DBSTRESS_VERSION", "0.0.0-SNAPSHOT"),
scalaVersion := Versions.scala,
scalacOptions ++= Seq(
"-unchecked",
"-deprecation",
"-feature",
"-Xfatal-warnings",
"-Ywarn-unused:imports"
)
)
.configs(IntegrationTest)
.settings(Defaults.itSettings: _*)
.settings(libraryDependencies ++= dependencies: _*)
.settings(packMain := Map("dbstress" -> "eu.semberal.dbstress.Main"))
.settings(
inConfig(IntegrationTest)(
org.scalafmt.sbt.ScalafmtPlugin.scalafmtConfigSettings
)
)