forked from codecentric/gatling-jdbc
-
Notifications
You must be signed in to change notification settings - Fork 13
/
build.sbt
44 lines (40 loc) · 1.91 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
organization := "dev.code-n-roll.gatling"
name := "jdbc-gatling"
scalaVersion := "2.12.8"
libraryDependencies ++= Seq(
"io.gatling.highcharts" % "gatling-charts-highcharts" % "3.2.1",
"io.gatling" % "gatling-test-framework" % "3.2.1",
"org.scalikejdbc" %% "scalikejdbc" % "3.3.5",
"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/rbraeunlich/gatling-jdbc"))
scmInfo := Some(ScmInfo(url("https://github.com/rbraeunlich/gatling-jdbc"), "[email protected]:rbraeunlich/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
)
sonatypeProfileName := "r.braeunlich"
pomIncludeRepository := { _ => false }
publishArtifact in Test := false
publishMavenStyle := true
publishConfiguration := publishConfiguration.value.withOverwrite(true)
publishLocalConfiguration := publishLocalConfiguration.value.withOverwrite(true)
releasePublishArtifactsAction := PgpKeys.publishSigned.value
releaseProcess += releaseStepCommand("sonatypeReleaseAll")