-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
59 lines (52 loc) · 1.59 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import Dependencies._
import sbtrelease.ReleaseStateTransformations._
ThisBuild / version := (ThisBuild / version).value
ThisBuild / organization := "uk.gov.nationalarchives"
ThisBuild / organizationName := "National Archives"
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/nationalarchives/tdr-backend-checks-utils"),
"[email protected]:nationalarchives/tdr-backend-checks-utils.git"
)
)
developers := List(
Developer(
id = "tna-da-bot",
name = "TNA Digital Archiving",
email = "[email protected]",
url = url("https://github.com/nationalarchives/tdr-backend-checks-utils")
)
)
ThisBuild / description := "Utility classes and methods to support backend check processing for TDR"
ThisBuild / licenses := List("MIT" -> new URL("https://choosealicense.com/licenses/mit/"))
ThisBuild / homepage := Some(url("https://github.com/nationalarchives/tdr-backend-checks-utils"))
scalaVersion := "2.13.15"
useGpgPinentry := true
publishTo := sonatypePublishToBundle.value
publishMavenStyle := true
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
runTest,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
releaseStepCommand("publishSigned"),
releaseStepCommand("sonatypeBundleRelease"),
setNextVersion,
commitNextVersion,
pushChanges
)
lazy val root = (project in file("."))
.settings(
name := "tdr-backend-checks-utils",
libraryDependencies ++= Seq(
awsS3,
circeCore,
circeGeneric,
circeParser,
mockito % Test,
scalaTest % Test,
)
)