-
Notifications
You must be signed in to change notification settings - Fork 18
/
build.sbt
41 lines (37 loc) · 1.72 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
organization := "de.codecentric"
name := "jdbc-gatling"
scalaVersion := "2.12.8"
libraryDependencies ++= Seq(
"io.gatling.highcharts" % "gatling-charts-highcharts" % "3.0.3",
"io.gatling" % "gatling-test-framework" % "3.0.3",
"org.scalikejdbc" %% "scalikejdbc" % "3.3.2",
"com.h2database" % "h2" % "1.4.198",
"ch.qos.logback" % "logback-classic" % "1.2.3",
"mysql" % "mysql-connector-java" % "8.0.15" % "test",
"org.postgresql" % "postgresql" % "42.2.5" % "test",
"org.scalatest" %% "scalatest" % "3.0.6" % "test",
"org.testcontainers" % "postgresql" % "1.10.6" % "test",
"org.testcontainers" % "mysql" % "1.10.6" % "test"
)
enablePlugins(GatlingPlugin)
parallelExecution in Test := false
//everything below this line is related to the project release
homepage := Some(url("https://github.com/codecentric/gatling-jdbc"))
scmInfo := Some(ScmInfo(url("https://github.com/codecentric/gatling-jdbc"), "[email protected]:codecentric/gatling-jdbc.git"))
developers := List(Developer("rbraeunlich",
"Ronny Bräunlich",
url("https://github.com/rbraeunlich")))
licenses += ("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0"))
// Add sonatype repository settings
publishTo := Some(
if (isSnapshot.value)
Opts.resolver.sonatypeSnapshots
else
Opts.resolver.sonatypeStaging
)
pomIncludeRepository := { _ => false }
publishArtifact in Test := false
publishMavenStyle := true
releasePublishArtifactsAction := PgpKeys.publishSigned.value
releaseProcess += releaseStepCommand("sonatypeReleaseAll")