forked from paulgoldbaum/scala-influxdb-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
33 lines (26 loc) · 964 Bytes
/
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
name := "scala-influxdb-client"
organization := "com.paulgoldbaum"
scalaVersion := "2.12.0"
crossScalaVersions := Seq("2.12.0", "2.11.7", "2.10.6")
testOptions in Test += Tests.Argument("-oDF")
useGpg := true
releaseCrossBuild := true
libraryDependencies += "org.asynchttpclient" % "async-http-client" % "2.0.24"
libraryDependencies += "io.spray" %% "spray-json" % "1.3.2"
libraryDependencies += "com.github.tomakehurst" % "wiremock" % "2.3.1" % "test"
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.1" % "test"
import ReleaseTransformations._
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
runTest,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
ReleaseStep(action = Command.process("publishSigned", _), enableCrossBuild = true),
setNextVersion,
commitNextVersion,
ReleaseStep(action = Command.process("sonatypeReleaseAll", _), enableCrossBuild = true),
pushChanges
)