forked from yarhrn/rozklad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
36 lines (30 loc) · 1.64 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
import ReleaseTransformations._
Global / onChangedBuildSource := ReloadOnSourceChanges
name := "rozklad"
organization := "com.yarhrn"
homepage := Some(url("https://github.com/yarhrn/rozklad"))
scmInfo := Some(ScmInfo(url("https://github.com/yarhrn/rozklad"), "[email protected]:yarhrn/rozklad.git"))
developers := List(Developer("Yaroslav Hryniuk", "Yaroslav Hryniuk", "[email protected]", url("https://github.com/yarhrn")))
licenses += ("MIT", url("https://github.com/yarhrn/rozklad/blob/master/LICENSE"))
publishMavenStyle := true
releaseTagName := s"${if (releaseUseGlobalVersion.value) (ThisBuild / version).value else version.value}"
scalaVersion := "2.13.10"
libraryDependencies += "com.typesafe.play" %% "play-json" % "2.9.3"
libraryDependencies += "org.tpolecat" %% "doobie-postgres" % "1.0.0-RC2"
libraryDependencies += "com.beachape" %% "enumeratum" % "1.7.2"
libraryDependencies += "com.dimafeng" %% "testcontainers-scala-postgresql" % "0.40.14" % Test
libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.15" % Test
libraryDependencies += "org.scalamock" %% "scalamock" % "5.2.0" % Test
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.4.14" % Test
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies, // : ReleaseStep
inquireVersions, // : ReleaseStep
runClean, // : ReleaseStep
runTest, // : ReleaseStep
setReleaseVersion, // : ReleaseStep
commitReleaseVersion, // : ReleaseStep, performs the initial git checks
tagRelease, // : ReleaseStep
setNextVersion, // : ReleaseStep
commitNextVersion, // : ReleaseStep
pushChanges // : ReleaseStep, also checks that an upstream branch is properly configured
)