-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathbuild.sbt
33 lines (26 loc) · 975 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.6"
crossScalaVersions := Seq(scalaVersion.value, "2.11.12", "2.10.7")
testOptions in Test += Tests.Argument("-oDF")
useGpg := true
releaseCrossBuild := true
libraryDependencies += "org.asynchttpclient" % "async-http-client" % "2.4.9"
libraryDependencies += "io.spray" %% "spray-json" % "1.3.4"
libraryDependencies += "com.github.tomakehurst" % "wiremock" % "2.16.0" % "test"
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.5" % "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
)